all repos — openbox @ 0fcd4c30ccd9a857d3ed643abf0c3463d1d5c8d7

openbox fork - make it a bit more like ryudo

RevertToPointerRoot is the worse error case, so use it always
Dana Jansens danakj@orodu.net
commit

0fcd4c30ccd9a857d3ed643abf0c3463d1d5c8d7

parent

4d65fe35fffbb1936b28428829153c2b6b58d994

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

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

@@ -1956,9 +1956,10 @@ }

} if (self->can_focus) - /* RevertToNone is used so that windows dont get focused inadvertantly - by having the pointer in them, and then FocusIn events go missing */ - XSetInputFocus(ob_display, self->window, RevertToNone, + /* RevertToPointerRoot causes much more headache than TevertToNone, so + I choose to use it always, hopefully to find errors quicker, if any + are left. (I hate X. I hate focus events.) */ + XSetInputFocus(ob_display, self->window, RevertToPointerRoot, event_lasttime); if (self->focus_notify) {