rm debug prints

This commit is contained in:
Dana Jansens 2003-03-21 08:19:40 +00:00
parent b23c65362d
commit a3012eafbd
2 changed files with 1 additions and 7 deletions

View file

@ -1901,8 +1901,6 @@ gboolean client_focus(Client *self)
if (client_focused(self)) if (client_focused(self))
return TRUE; return TRUE;
g_print("Focusing: %lx\n", self->window);
if (self->can_focus) if (self->can_focus)
XSetInputFocus(ob_display, self->window, RevertToNone, CurrentTime); XSetInputFocus(ob_display, self->window, RevertToNone, CurrentTime);
@ -1928,7 +1926,6 @@ gboolean client_focus(Client *self)
void client_unfocus(Client *self) void client_unfocus(Client *self)
{ {
g_assert(focus_client == self); g_assert(focus_client == self);
g_print("UNFocusing: %lx\n", self->window);
focus_set_client(NULL); focus_set_client(NULL);
} }

View file

@ -76,7 +76,6 @@ static void focus_fallback(gboolean switching_desks)
static void events(ObEvent *e, void *foo) static void events(ObEvent *e, void *foo)
{ {
g_message("event %d", e->type);
switch (e->type) { switch (e->type) {
case Event_Client_Mapped: case Event_Client_Mapped:
if (focus_new && client_normal(e->data.c.client)) if (focus_new && client_normal(e->data.c.client))
@ -111,10 +110,8 @@ static void events(ObEvent *e, void *foo)
--skip_enter; --skip_enter;
} }
else*/ 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); client_focus(e->data.x.client);
g_message("enter %lx", e->data.x.client->window);
}
break; break;
default: default: