• Tiago Vignatti's avatar
    xwm: use last focused window for guessing transient parent · ce1baa80
    Tiago Vignatti authored
    On X the global absolute coordinates are sent in ConfigureNotify and transient
    windows are mapped exactly on that position. On Wayland we don't have the
    concept of global coordinates, and that's a problem for transient surfaces
    without transient_for set because they rely on such hint for setting their
    positioning.
    
    So this solution is a workaround. It guesses a parent based on the last
    focused window to determine the relative position of the transient surface.
    This put transient windows of Chrome browser back to work.
    Signed-off-by: default avatarTiago Vignatti <tiago.vignatti@intel.com>
    ce1baa80
Name
Last commit
Last update
clients Loading commit data...
data Loading commit data...
protocol Loading commit data...
shared Loading commit data...
src Loading commit data...
tests Loading commit data...
wcap Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
weston.ini Loading commit data...