summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren gmail com>2007-04-03 20:19:12 +0000
committerElijah Newren <newren@src.gnome.org>2007-04-03 20:19:12 +0000
commitda7d198757e0451aaa1e44119adad92dd4869618 (patch)
tree7e744b56abe6189928b819eda7e2e0bf612b3198
parent350225ea37f668fefba38c21893f921480eb2fe1 (diff)
downloadmetacity-da7d198757e0451aaa1e44119adad92dd4869618.tar.gz
turn mouse_mode off to prevent focus issues with the run application
2007-04-03 Elijah Newren <newren gmail com> * src/keybindings.c (handle_panel_keybinding): turn mouse_mode off to prevent focus issues with the run application dialog. Fixes #374752. svn path=/trunk/; revision=3149
-rw-r--r--ChangeLog6
-rw-r--r--src/keybindings.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2eee0129..51354f73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2007-04-03 Elijah Newren <newren gmail com>
+ * src/keybindings.c (handle_panel_keybinding): turn mouse_mode off
+ to prevent focus issues with the run application dialog. Fixes
+ #374752.
+
+2007-04-03 Elijah Newren <newren gmail com>
+
Avoid some crashes when dragging windows partially offscreen.
Possible (or at least partial) fix for #353513.
diff --git a/src/keybindings.c b/src/keybindings.c
index 8b32eecb..63ec8358 100644
--- a/src/keybindings.c
+++ b/src/keybindings.c
@@ -3194,7 +3194,9 @@ handle_panel_keybinding (MetaDisplay *display,
ev.data.l[1] = event->xkey.time;
meta_topic (META_DEBUG_KEYBINDINGS,
- "Sending panel message with timestamp %lu\n", event->xkey.time);
+ "Sending panel message with timestamp %lu, and turning mouse_mode "
+ "off due to keybinding press\n", event->xkey.time);
+ display->mouse_mode = FALSE;
meta_error_trap_push (display);