]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
Merge branch 'backport' into work
[chaz/openbox] / openbox / focus.c
index 2af0da9c0f892cbcdc0c17dde674e293ab81b9ab..fc0fd99bac47c560ce05de3fe114b25d407b675a 100644 (file)
@@ -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) {
@@ -196,8 +192,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(obt_display, screen_support_win, RevertToPointerRoot,
                    event_curtime);
This page took 0.023095 seconds and 4 git commands to generate.