GNOME Bugzilla – Bug 518538
Resize grip still present when window is maximized
Last modified: 2008-09-03 23:15:30 UTC
ssia. Should not be there when the window is maximized, but it is. *resize grip is the dotted corner down to the right in the window used to resize it.
Use the window-state-event event on the main window to show/hide the resize grip.
Created attachment 117737 [details] [review] [PATCH] Hide resize grip when window is maximized src/fe-gnome/main-window.c | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-)
+ if (event->changed_mask == GDK_WINDOW_STATE_MAXIMIZED) + { + if (event->new_window_state == GDK_WINDOW_STATE_MAXIMIZED) You should not test for strict equality in these 2 places, just see if the bit is set with "&". With that fixed, ok to commit to svn trunk. Thanks for the patch!
Created attachment 117971 [details] [review] [PATCH] Hide resize grip when window is maximized src/fe-gnome/main-window.c | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-)
Thanks!
My first patch \o/
Committed. Thanks.