• Rui Matos's avatar
    window: Remove fullscreen_after_placement special case · 07f533f6
    Rui Matos authored
    This was introduced in commit c6793d47
    to prevent window self-maximisation. It turns out that that bug seems
    to have been fixed meanwhile in a different way since the reproducer
    in https://bugzilla.gnome.org/show_bug.cgi?id=461927#c37 now works
    fine with this special handling removed.
    
    In fact, failing to set window->fullscreen immediately when loading
    the initial set of X properties causes us to create a UI frame for a
    window that sets _NET_WM_STATE_FULLSCREEN.
    
    This, in turn, might cause the fullscreen constrain code to fail if
    the window also sets min_width/min_height size hints to be the monitor
    size since the UI frame size added to those makes the rectangle too
    big to fit the monitor. If the window doesn't set these hints, we
    fullscreen it but the window will get sized such that the UI frame is
    taken into account while it really shouldn't (see the reproducer
    above).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=753020
    07f533f6
Name
Last commit
Last update
data Loading commit data...
doc Loading commit data...
po Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mutter.doap Loading commit data...