]> Dogcows Code - chaz/openbox/commitdiff
simply out the events we dont need no more
authorDana Jansens <danakj@orodu.net>
Wed, 19 Mar 2003 08:15:56 +0000 (08:15 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 19 Mar 2003 08:15:56 +0000 (08:15 +0000)
plugins/focus.c

index d4ce4b9b5c3fa850cfc82d55dda227b5fae8af08..f50d9c4b2e13e78bf3ed0186427672687e90de64 100644 (file)
@@ -43,7 +43,6 @@ static void events(ObEvent *e, void *foo)
         break;
 
     case Event_Ob_Desktop:
-        g_message("Desktop Switch");
         /* focus the next available target */
         focus_fallback(e->data.o.num[0], TRUE);
         break;
@@ -58,12 +57,7 @@ static void events(ObEvent *e, void *foo)
         */
         break;
 
-    case Event_X_LeaveNotify:
-        g_message("Leave: %lx", e->data.x.client ? e->data.x.client->window : 0);
-        break;
-
     case Event_X_EnterNotify:
-        g_message("Enter: %lx", e->data.x.client ? e->data.x.client->window : 0);
         if (skip_enter)
             --skip_enter;
         else if (e->data.x.client && client_normal(e->data.x.client))
@@ -80,8 +74,7 @@ void plugin_startup()
     dispatch_register(Event_Client_Mapped | 
                       Event_Ob_Desktop | 
                       Event_Client_Unfocus |
-                      Event_X_EnterNotify |
-                      Event_X_LeaveNotify,
+                      Event_X_EnterNotify,
                       (EventHandler)events, NULL);
 }
 
This page took 0.025855 seconds and 4 git commands to generate.