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
This commit is contained in:
Bruno Boaventura 2007-01-13 13:27:20 +00:00 committed by Bruno Boaventura de Oliveira Lacerda
parent c4a135aeee
commit 50c5bf4bf6
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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 &&