diff options
author | Debarshi Ray <debarshir@gnome.org> | 2012-07-18 17:04:45 +0200 |
---|---|---|
committer | Debarshi Ray <debarshir@gnome.org> | 2012-07-18 17:06:43 +0200 |
commit | 2d02f6cc782da1e4455d6ad32d0ec26df5a67128 (patch) | |
tree | 547a29bdc8a7a56922b2e6ec8d201c87d3476029 | |
parent | b5d5934e5a26157df3c86c3681beb37a31f5c5f5 (diff) | |
download | mutter-wip/message-tray.tar.gz |
display: Unset grab_frame_action in meta_display_end_grab_opwip/message-tray
Otherwise, if the user had moved the windows around using a mouse,
they can not be moved beyond the top edge of the primary monitor when
the tray needs to be brought up, . This is because
constrain_titlebar_visible looks at grab_frame_action and thinks that
the movement is being caused by the user trying to move the windows up
by grabbing the frame.
Fixes: https://bugzilla.gnome.org/677215
-rw-r--r-- | src/core/display.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/display.c b/src/core/display.c index 661480e7a..b33dc2fa0 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -3764,6 +3764,8 @@ meta_display_end_grab_op (MetaDisplay *display, g_signal_emit (display, display_signals[GRAB_OP_END], 0, display->grab_screen, display->grab_window, display->grab_op); + display->grab_frame_action = FALSE; + if (display->grab_window != NULL) display->grab_window->shaken_loose = FALSE; |