Closes #799. i think im too high to say more.
This commit is contained in:
parent
261d3193c5
commit
4bec1c07db
1 changed files with 8 additions and 3 deletions
|
@ -2505,12 +2505,17 @@ gboolean client_focus(ObClient *self)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self->can_focus)
|
if (self->can_focus) {
|
||||||
/* RevertToPointerRoot causes much more headache than RevertToNone, so
|
/* RevertToPointerRoot causes much more headache than RevertToNone, so
|
||||||
I choose to use it always, hopefully to find errors quicker, if any
|
I choose to use it always, hopefully to find errors quicker, if any
|
||||||
are left. (I hate X. I hate focus events.) */
|
are left. (I hate X. I hate focus events.)
|
||||||
XSetInputFocus(ob_display, self->window, RevertToPointerRoot,
|
|
||||||
|
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);
|
event_lasttime);
|
||||||
|
}
|
||||||
|
|
||||||
if (self->focus_notify) {
|
if (self->focus_notify) {
|
||||||
XEvent ce;
|
XEvent ce;
|
||||||
|
|
Loading…
Reference in a new issue