all repos — openbox @ 4f9ec4cbdb42b7cbed9b5ac7cc9cd8746aea0798

openbox fork - make it a bit more like ryudo

grab the mouse buttons and keyboards keys on clients before showing them to avoid the situation where a grabbed key goes to a client without being seen by openbox, hopefully has no side effects but probably does
Mikael Magnusson mikachu@comhem.se
commit

4f9ec4cbdb42b7cbed9b5ac7cc9cd8746aea0798

parent

9be3a213805565365632228e9b90e63624a37ace

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -358,6 +358,9 @@ if (x != ox || y != oy)

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

@@ -391,9 +394,6 @@ screen_update_areas();

/* 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); }