diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-28 10:47:48 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-28 10:47:48 +0000 |
| commit | 0fcd4c30ccd9a857d3ed643abf0c3463d1d5c8d7 (patch) | |
| tree | 9fc980538d5de85bb8a2f9ebf61f1a102a935bbf | |
| parent | 4d65fe35fffbb1936b28428829153c2b6b58d994 (diff) | |
RevertToPointerRoot is the worse error case, so use it always
| -rw-r--r-- | openbox/client.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/openbox/client.c b/openbox/client.c index 75ba752b..eddd96c4 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1956,9 +1956,10 @@ gboolean client_focus(Client *self) } 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) { |
