X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus.c;h=fc0fd99bac47c560ce05de3fe114b25d407b675a;hb=2f09e0ce388f63c341cb328d795766e2bd0dc24b;hp=cff81bfb03918a0b5fe0e982cd5bedbea17d7e97;hpb=97de73776708d7c75b42c8fcf33342541d721c83;p=chaz%2Fopenbox diff --git a/openbox/focus.c b/openbox/focus.c index cff81bfb..fc0fd99b 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) { @@ -196,15 +192,6 @@ void focus_nothing(void) /* nothing is focused, update the colormap and _the root property_ */ focus_set_client(NULL); - /* if there is a grab going on, then we need to cancel it. if we move - focus during the grab, applications will get NotifyWhileGrabbed events - and ignore them ! - - actions should not rely on being able to move focus during an - interactive grab. - */ - 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); @@ -365,4 +352,3 @@ gboolean focus_valid_target(ObClient *ft, return ok; } -