projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9be3a21
)
grab the mouse buttons and keyboards keys on clients before showing them to avoid...
author
Mikael Magnusson
<mikachu@comhem.se>
Thu, 30 Dec 2004 15:37:30 +0000
(15:37 +0000)
committer
Mikael Magnusson
<mikachu@comhem.se>
Thu, 30 Dec 2004 15:37:30 +0000
(15:37 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
f5ca000
..
4e31460
100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-358,6
+358,9
@@
void client_manage(Window window)
client_move(self, x, y);
}
+ keyboard_grab_for_client(self, TRUE);
+ mouse_grab_for_client(self, TRUE);
+
client_showhide(self);
/* use client_focus instead of client_activate cuz client_activate does
@@
-392,9
+395,6
@@
void client_manage(Window window)
/* update the list hints */
client_set_list();
- keyboard_grab_for_client(self, TRUE);
- mouse_grab_for_client(self, TRUE);
-
ob_debug("Managed window 0x%lx (%s)\n", window, self->class);
}