diff options
author | Elijah Newren <newren@gmail.com> | 2004-12-28 22:31:10 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2004-12-28 22:31:10 +0000 |
commit | 78e54ee7eec92165621cd58ce206902591dc1b11 (patch) | |
tree | 21d7b65bd350829980aed745019608606d439349 | |
parent | 4e636d095116195d61ea5da2b0a41763848b19d1 (diff) | |
download | metacity-78e54ee7eec92165621cd58ce206902591dc1b11.tar.gz |
Allow users to move the window around immediately after double-clicking to
2004-12-28 Elijah Newren <newren@gmail.com>
Allow users to move the window around immediately after
double-clicking to shade (#90290)
* src/display.c (event_callback): only end the grab op if either
there is no frame or else the frame is not mapped
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/display.c | 3 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,11 @@ +2004-12-28 Elijah Newren <newren@gmail.com> + + Allow users to move the window around immediately after + double-clicking to shade (#90290) + + * src/display.c (event_callback): only end the grab op if either + there is no frame or else the frame is not mapped + 2004-12-27 Elijah Newren <newren@gmail.com> Focus windows that manually position themselves too (fixes diff --git a/src/display.c b/src/display.c index 4730b0a1..fa57f034 100644 --- a/src/display.c +++ b/src/display.c @@ -1909,7 +1909,8 @@ event_callback (XEvent *event, if (window) { if (display->grab_op != META_GRAB_OP_NONE && - display->grab_window == window) + display->grab_window == window && + ((window->frame == NULL) || !window->frame->mapped)) meta_display_end_grab_op (display, CurrentTime); if (!frame_was_receiver) |