diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-21 08:19:40 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-21 08:19:40 +0000 |
| commit | a3012eafbdb8468a8e61e685a47587da0a48868e (patch) | |
| tree | f07c98b7de49bc5392e4a31a96b26954563028f8 | |
| parent | b23c65362d66d229073817d6d66d26b3ccef6a62 (diff) | |
rm debug prints
| -rw-r--r-- | openbox/client.c | 3 | ||||
| -rw-r--r-- | plugins/focus.c | 5 |
2 files changed, 1 insertions, 7 deletions
diff --git a/openbox/client.c b/openbox/client.c index 7dbb4d0b..3ef71e92 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -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); } diff --git a/plugins/focus.c b/plugins/focus.c index 96c38639..5a52d2e9 100644 --- a/plugins/focus.c +++ b/plugins/focus.c @@ -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: |
