projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
042802b
)
merge r6285 from trunk
author
Dana Jansens
<danakj@orodu.net>
Thu, 10 May 2007 15:26:01 +0000
(15:26 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 10 May 2007 15:26:01 +0000
(15:26 +0000)
openbox/keyboard.c
patch
|
blob
|
history
diff --git
a/openbox/keyboard.c
b/openbox/keyboard.c
index d8f35bccbcca5339ba8ca48e492216d1c7dae4b8..84ae2a38e2d25f7eac85b6c4f74644502b2c1641 100644
(file)
--- a/
openbox/keyboard.c
+++ b/
openbox/keyboard.c
@@
-195,14
+195,15
@@
static void keyboard_interactive_end(guint state, gboolean cancel, Time time,
g_assert(istate.active);
+ /* ungrab first so they won't be NotifyWhileGrabbed */
+ if (ungrab)
+ grab_keyboard(FALSE);
+
alist = g_slist_append(NULL, istate.action);
action_run_interactive(alist, istate.client, state, time, cancel, TRUE);
g_slist_free(alist);
istate.active = FALSE;
-
- if (ungrab)
- grab_keyboard(FALSE);
}
static void keyboard_interactive_end_client(ObClient *client, gpointer data)