]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
remove the event dispatcher
[chaz/openbox] / openbox / focus.c
index 283294296b444c2c4a7394a407c97b5b40710f06..dab6d573d2fe75e8376156c3c6cd38459631064c 100644 (file)
@@ -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()
This page took 0.024633 seconds and 4 git commands to generate.