summaryrefslogtreecommitdiff
path: root/src/display.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2004-12-28 22:31:10 +0000
committerElijah Newren <newren@src.gnome.org>2004-12-28 22:31:10 +0000
commit78e54ee7eec92165621cd58ce206902591dc1b11 (patch)
tree21d7b65bd350829980aed745019608606d439349 /src/display.c
parent4e636d095116195d61ea5da2b0a41763848b19d1 (diff)
downloadmetacity-78e54ee7eec92165621cd58ce206902591dc1b11.tar.gz
metacity-78e54ee7eec92165621cd58ce206902591dc1b11.tar.bz2
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
Diffstat (limited to 'src/display.c')
-rw-r--r--src/display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/display.c b/src/display.c
index 4730b0a..fa57f03 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)