X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus.c;h=dab6d573d2fe75e8376156c3c6cd38459631064c;hb=3cbe368018ed5a2198e9e314bdd7338e4864886d;hp=283294296b444c2c4a7394a407c97b5b40710f06;hpb=dcb5a38fdb52356fef7b94644dedc358fd2bfd85;p=chaz%2Fopenbox diff --git a/openbox/focus.c b/openbox/focus.c index 28329429..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()