summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-06 09:25:05 +0000
committerDana Jansens <danakj@orodu.net>2003-09-06 09:25:05 +0000
commit4bec1c07db9245eb58de04d2f80552a7bcc0f74e (patch)
tree7ca21940d7041263acc0f5963546cbb8f9a24119
parent261d3193c5258126fda8234a3305180066f0f939 (diff)
Closes #799. i think im too high to say more.
-rw-r--r--openbox/client.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 75aecf41..c8f00605 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -2505,12 +2505,17 @@ gboolean client_focus(ObClient *self)
return FALSE;
}
- if (self->can_focus)
+ if (self->can_focus) {
/* RevertToPointerRoot causes much more headache than RevertToNone, 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,
+ are left. (I hate X. I hate focus events.)
+
+ Update: Changing this to RevertToNone fixed a bug with mozilla (bug
+ #799. So now it is RevertToNone again.
+ */
+ XSetInputFocus(ob_display, self->window, RevertToNone,
event_lasttime);
+ }
if (self->focus_notify) {
XEvent ce;