projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
396eb33
)
use the focus client when the client is null for keyboard events
author
Dana Jansens
<danakj@orodu.net>
Wed, 10 Sep 2003 17:12:26 +0000
(17:12 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 10 Sep 2003 17:12:26 +0000
(17:12 +0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index 2d47fd328a09c55ec9f2a3f01a5e398cd8fba2ee..b5ad2924244a50ba6e766bd7db195255a4249a00 100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-500,7
+500,8
@@
static void event_process(const XEvent *ec, gpointer data)
causes the window which appears to be focused to be
the one on which the actions will be executed */
keyboard_event((focus_cycle_target ?
- focus_cycle_target : client), e);
+ focus_cycle_target :
+ (client ? client : focus_client)), e);
}
}
}