diff options
author | Bruno Boaventura <brunobol@gnome.org> | 2007-01-13 13:27:20 +0000 |
---|---|---|
committer | Bruno Boaventura de Oliveira Lacerda <brunobol@src.gnome.org> | 2007-01-13 13:27:20 +0000 |
commit | 50c5bf4bf692eec215b15936b8ea069779b0e04c (patch) | |
tree | c95d92f2473839aac7f43ce75109cbaff0197856 | |
parent | c4a135aeee6cad7f0b6b6abcd9ad13790fb25843 (diff) | |
download | metacity-50c5bf4bf692eec215b15936b8ea069779b0e04c.tar.gz |
Unmaximize button must keep preesed appearence when clicked (hold down),
2007-01-13 Bruno Boaventura <brunobol@gnome.org>
* src/frames.c (meta_frames_motion_notify_event): Unmaximize
button must keep preesed appearence when clicked (hold down),
move off, and back over the button. Fixes #395560. Patch from
Mad Alex <madalexonline@yahoo.co.uk>.
svn path=/trunk/; revision=3040
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/frames.c | 3 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2007-01-13 Bruno Boaventura <brunobol@gnome.org> + + * src/frames.c (meta_frames_motion_notify_event): Unmaximize + button must keep preesed appearence when clicked (hold down), + move off, and back over the button. Fixes #395560. Patch from + Mad Alex <madalexonline@yahoo.co.uk>. + 2007-01-02 Thomas Thurman <thomas@thurman.org.uk> * src/c-screen.c (meta_comp_screen_redirect): Remove double unref diff --git a/src/frames.c b/src/frames.c index 0c70b01a..37b1e79e 100644 --- a/src/frames.c +++ b/src/frames.c @@ -1797,7 +1797,8 @@ meta_frames_motion_notify_event (GtkWidget *widget, grab_op == META_GRAB_OP_CLICKING_DELETE) || (control == META_FRAME_CONTROL_MINIMIZE && grab_op == META_GRAB_OP_CLICKING_MINIMIZE) || - (control == META_FRAME_CONTROL_MAXIMIZE && + ((control == META_FRAME_CONTROL_MAXIMIZE || + control == META_FRAME_CONTROL_UNMAXIMIZE) && (grab_op == META_GRAB_OP_CLICKING_MAXIMIZE || grab_op == META_GRAB_OP_CLICKING_UNMAXIMIZE)) || (control == META_FRAME_CONTROL_SHADE && |