diff options
author | Havoc Pennington <hp@redhat.com> | 2004-06-16 22:14:07 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2004-06-16 22:14:07 +0000 |
commit | 5e012eb3b0cce183fdfabc720853959018297454 (patch) | |
tree | c746772f1b4bfba72661d33325fe11c1e1a3496f /src/window.c | |
parent | 61b9cbca78c6c179977e06cd6ed1de1857bd669b (diff) | |
download | metacity-5e012eb3b0cce183fdfabc720853959018297454.tar.gz |
add temporary hack to fix an artifact on unshading windows in wireframegnome-2-2-rhel3
2004-06-16 Havoc Pennington <hp@redhat.com>
* src/window.c (meta_window_unshade): add temporary hack to fix an
artifact on unshading windows in wireframe resize mode; fix from
Bernd Schmidt bernds@redhat.com
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index c5c640e7..6b9c3874 100644 --- a/src/window.c +++ b/src/window.c @@ -1955,6 +1955,18 @@ meta_window_unshade (MetaWindow *window) if (window->shaded) { window->shaded = FALSE; + + /* This isn't correct; we need a more generic fix in + * meta_window_show/meta_window_hide (force a repaint on + * entire wireframe area, essentially?) + */ + if (window->display->grab_wireframe_active) + { + window->display->grab_wireframe_active = FALSE; + meta_effects_end_wireframe (window->display->grab_window->screen, + &window->display->grab_wireframe_rect); + } + meta_window_queue_move_resize (window); meta_window_queue_calc_showing (window); |