window.c: Update a wrong value in our edge constraints
Now that the constraints are properly updating, we need to fix the values
for windows tiled to the top half. Withoug this change you cannot resize
those windows.
Fix regression caused by 610d60d953cb1 - it was affecting programs
that started in fullscreen mode.
This partially reverts 610d60d9 and gets rid of the
'fullscreen_after_placement' mechanism only. It seems to be enough
to fix the LibreOffice presentation issue without breaking programs
that start as fullscreen.
Commit 45c631cfc34de broke de-tiling windows using the keyboard,
as the window's tile_type and tile_mode would be unset in
meta_window_tile, causing condition changed by that commit to
now fail.
Since the tiling properties were *also* being unset during un-
maximize, we can remove those assignments from meta_window_tile,
and allow the new condition to succeed.
Removed some dead code from meta_window_unmaximize as well - prior
to the commit mentioned above, tile_mode would never have been
been set, so the code never ran. Now it would succeed, and block
our fix if left in.
Don't allow fullscreen windows to also become decorated.
Windows that were starting out as fullscreen (_NET_WM_FULLSCREEN)
were being initially decorated, as the fullscreen property wasn't
being applied until after window construction and placement. The
decorations also were not being removed at that point, leaving
space around the window which was visible in adjacent monitors.