X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus.c;h=dab6d573d2fe75e8376156c3c6cd38459631064c;hb=3cbe368018ed5a2198e9e314bdd7338e4864886d;hp=c30d0e613ffaff3d03c348f975aaa34856a785ac;hpb=5c0f10b6b6602c18b211b6ebca6ec93557c8cea7;p=chaz%2Fopenbox diff --git a/openbox/focus.c b/openbox/focus.c index c30d0e61..dab6d573 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -9,7 +9,6 @@ #include "screen.h" #include "group.h" #include "prop.h" -#include "dispatch.h" #include "focus.h" #include "stacking.h" #include "popup.h" @@ -96,11 +95,6 @@ void focus_set_client(ObClient *client) PROP_SET32(RootWindow(ob_display, ob_screen), net_active_window, window, active); } - - if (focus_client != NULL) - dispatch_client(Event_Client_Focus, focus_client, 0, 0); - if (old != NULL) - dispatch_client(Event_Client_Unfocus, old, 0, 0); } static gboolean focus_under_pointer() @@ -190,6 +184,7 @@ void focus_fallback(ObFocusFallbackType type) } } +#if 0 /* try for group relations */ if (old->group) { GSList *sit; @@ -204,6 +199,7 @@ void focus_fallback(ObFocusFallbackType type) return; } } +#endif } for (it = focus_order[screen_desktop]; it != NULL; it = it->next)