]> git.mdlowis.com Git - proto/labwc.git/commit
Revert "xwayland: Fix size issue when starting VLC fullscreen"
authorJohn Lindgren <john@jlindgren.net>
Fri, 17 Feb 2023 18:50:44 +0000 (13:50 -0500)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Sat, 18 Feb 2023 04:31:22 +0000 (05:31 +0100)
commit913f89b6c4d3afc9ca951d2e685eddf3241eb2f6
tree7ab4f9202417da0a5b17a135e7ff6dfb58580cb1
parent49c94660391b0ea6e77d7e3abe608e17f8b239c5
Revert "xwayland: Fix size issue when starting VLC fullscreen"

The fix caused a couple of issues:

1. Ignoring client configure requests caused some clients to hang
   and not repaint correctly. We are supposed to synthesize a
   ConfigureNotify event when ignore/override a client configure
   request, but this isn't possible with current wlroots.

2. Setting view->natural_geometry from client configure requests
   resulted in overwriting good values with bad in some cases (e.g.
   with tiled xfce4-terminal in xwayland mode).

For now, revert the fix. This does allow clients to mess with view
positioning for maximized/fullscreen/tiled views, but right now the
alternatives seem worse.

The original specific issue (VLC undoing its fullscreen geometry)
is arguably a bug in VLC anyway.

This reverts commit 09599861ac726b142a79ed60035809f04c151457.
src/xwayland.c