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:
f68eb1f
)
dont refocus the focused window, that just causes so many problems (with alt-tab :)
author
Dana Jansens
<danakj@orodu.net>
Fri, 23 May 2003 20:17:22 +0000
(20:17 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 23 May 2003 20:17:22 +0000
(20:17 +0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index
54db6cc
..
478567f
100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-581,8
+581,10
@@
static void event_handle_client(Client *client, XEvent *e)
#ifdef DEBUG_FOCUS
g_message("FocusIn on client for %lx", client->window);
#endif
- focus_set_client(client);
- frame_adjust_focus(client->frame, TRUE);
+ if (client != focus_client) {
+ focus_set_client(client);
+ frame_adjust_focus(client->frame, TRUE);
+ }
break;
case FocusOut:
#ifdef DEBUG_FOCUS