]> Dogcows Code - chaz/openbox/commitdiff
Closes #799. i think im too high to say more.
authorDana Jansens <danakj@orodu.net>
Sat, 6 Sep 2003 09:25:05 +0000 (09:25 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 6 Sep 2003 09:25:05 +0000 (09:25 +0000)
openbox/client.c

index 75aecf41f630500d154f15e90b0655b06d48cd80..c8f006055b8022bd277fa96771d83b54fb854316 100644 (file)
@@ -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;
This page took 0.024776 seconds and 4 git commands to generate.