summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren gmail com>2007-04-03 20:19:45 +0000
committerElijah Newren <newren@src.gnome.org>2007-04-03 20:19:45 +0000
commit49989fd730a48e3f6aa5363c4d1c26a0277f821a (patch)
tree097866b405d745ca8ce1b756736a257880476a4f
parent1b04f5e5fb5aae90f3ea96c5b6488d6902d40e93 (diff)
downloadmetacity-49989fd730a48e3f6aa5363c4d1c26a0277f821a.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=/branches/gnome-2-18/; revision=3150
-rw-r--r--ChangeLog6
-rw-r--r--src/keybindings.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 88958146..1156cd93 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);