]> Dogcows Code - chaz/openbox/commitdiff
rm debug prints
authorDana Jansens <danakj@orodu.net>
Fri, 21 Mar 2003 08:19:40 +0000 (08:19 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 21 Mar 2003 08:19:40 +0000 (08:19 +0000)
openbox/client.c
plugins/focus.c

index 7dbb4d0b81aa98ba91a0f49c1b79ccfe9fedb9aa..3ef71e92f510a82bf5d2373b8d1edb9662d63cf5 100644 (file)
@@ -1901,8 +1901,6 @@ gboolean client_focus(Client *self)
     if (client_focused(self))
         return TRUE;
 
-    g_print("Focusing: %lx\n", self->window);
-     
     if (self->can_focus)
        XSetInputFocus(ob_display, self->window, RevertToNone, CurrentTime);
 
@@ -1928,7 +1926,6 @@ gboolean client_focus(Client *self)
 void client_unfocus(Client *self)
 {
     g_assert(focus_client == self);
-    g_print("UNFocusing: %lx\n", self->window);
     focus_set_client(NULL);
 }
 
index 96c386395f049fd67d1f1b685a8d7d27316324a0..5a52d2e98273155b1e69cae45ebae31f63b14580 100644 (file)
@@ -76,7 +76,6 @@ static void focus_fallback(gboolean switching_desks)
 
 static void events(ObEvent *e, void *foo)
 {
-    g_message("event %d", e->type);
     switch (e->type) {
     case Event_Client_Mapped:
         if (focus_new && client_normal(e->data.c.client))
@@ -111,10 +110,8 @@ static void events(ObEvent *e, void *foo)
             --skip_enter;
         }
         else*/
-        if (e->data.x.client != NULL && client_normal(e->data.x.client)) {
+        if (e->data.x.client != NULL && client_normal(e->data.x.client))
             client_focus(e->data.x.client);
-            g_message("enter %lx", e->data.x.client->window);
-        }
         break;
 
     default:
This page took 0.02522 seconds and 4 git commands to generate.