summaryrefslogtreecommitdiff
path: root/openbox/focus.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-12-08 11:21:45 -0500
committerDana Jansens <danakj@orodu.net>2009-12-08 13:56:37 -0500
commit11ecb7d2199d06b2929ba7e5d3c92c021038a0cc (patch)
treeffa7dd4d102c0eace84851468964f8bd78dd1cb1 /openbox/focus.c
parent97890e21cdb23ce3fc31dd1e0ce24537a45cc599 (diff)
Don't kill keygrabs when focus moves.
Applications should be better behaved by now, and GTK based apps seem to be at least. We can file bug reports with them if we need to still.
Diffstat (limited to 'openbox/focus.c')
-rw-r--r--openbox/focus.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index 63eb2cca..8c3bd70a 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -83,10 +83,6 @@ void focus_set_client(ObClient *client)
screen_install_colormap(focus_client, FALSE);
screen_install_colormap(client, TRUE);
- /* in the middle of cycling..? kill it. */
- focus_cycle_stop(focus_client);
- focus_cycle_stop(client);
-
focus_client = client;
if (client != NULL) {
@@ -197,8 +193,6 @@ void focus_nothing(void)
/* nothing is focused, update the colormap and _the root property_ */
focus_set_client(NULL);
- event_cancel_all_key_grabs();
-
/* when nothing will be focused, send focus to the backup target */
XSetInputFocus(ob_display, screen_support_win, RevertToPointerRoot,
event_curtime);