diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/window.c | 12 |
2 files changed, 18 insertions, 0 deletions
@@ -1,5 +1,11 @@ 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 + +2004-06-16 Havoc Pennington <hp@redhat.com> + * add hacky "no focus on map" pref patch (clearly labeled as a hack only in rhel3) 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); |