mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
release the keyboard grab before sending the action message to the panel.
2003-02-26 Mark McLoughlin <mark@skynet.ie> * src/keybindings.c: (handle_panel_keybinding): release the keyboard grab before sending the action message to the panel.
This commit is contained in:
parent
8377c7776c
commit
6af9a11361
@ -1,3 +1,9 @@
|
||||
2003-02-26 Mark McLoughlin <mark@skynet.ie>
|
||||
|
||||
* src/keybindings.c: (handle_panel_keybinding): release
|
||||
the keyboard grab before sending the action message to
|
||||
the panel.
|
||||
|
||||
2003-02-24 Mark McLoughlin <mark@skynet.ie>
|
||||
|
||||
Take control of the panel's global keybindings. The
|
||||
|
@ -2617,12 +2617,20 @@ handle_panel_keybinding (MetaDisplay *display,
|
||||
ev.data.l[0] = action_atom;
|
||||
ev.data.l[1] = event->xkey.time;
|
||||
|
||||
meta_topic (META_DEBUG_KEYBINDINGS,
|
||||
"Sending panel message with timestamp %lu\n", event->xkey.time);
|
||||
|
||||
meta_error_trap_push (display);
|
||||
|
||||
/* Release the grab for the panel before sending the event */
|
||||
XUngrabKeyboard (display->xdisplay, event->xkey.time);
|
||||
|
||||
XSendEvent (display->xdisplay,
|
||||
screen->xroot,
|
||||
False,
|
||||
StructureNotifyMask,
|
||||
(XEvent*) &ev);
|
||||
|
||||
meta_error_trap_pop (display, FALSE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user