• Owen W. Taylor's avatar
    Fix problems with focus tracking · 9c1b972c
    Owen W. Taylor authored
    When a client spontaneously focuses their window, perhaps in response
    to WM_TAKE_FOCUS we'll get a FocusOut/FocusIn pair with same serial.
    Updating display->focus_serial in response to FocusOut then was causing
    us to ignore FocusIn and think that the focus was not on any window.
    
    We need to distinguish this spontaneous case from the case where we
    set the focus ourselves - when we set the focus ourselves, we're careful
    to combine the SetFocus with a property change so that we know definitively
    what focus events we have already accounted for.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720558
    9c1b972c
Name
Last commit
Last update
doc Loading commit data...
po Loading commit data...
protocol Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.cvsignore Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COMPLIANCE Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Doxyfile Loading commit data...
HACKING Loading commit data...
MAINTAINERS Loading commit data...
METACITY_MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mutter.doap Loading commit data...
rationales.txt Loading commit data...
stamp.h.in Loading commit data...