diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-19 08:15:56 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-19 08:15:56 +0000 |
| commit | 5c53055ee7e7efc4bc5fae2a7ba6206fa61eac5b (patch) | |
| tree | 4a8405a6462a6396bef647506a0962585bc4b07e /plugins/focus.c | |
| parent | 49a70012642a6d18529dc2efedc6e9c604c0a0b2 (diff) | |
simply out the events we dont need no more
Diffstat (limited to 'plugins/focus.c')
| -rw-r--r-- | plugins/focus.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/focus.c b/plugins/focus.c index d4ce4b9b..f50d9c4b 100644 --- a/plugins/focus.c +++ b/plugins/focus.c @@ -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); } |
