diff options
author | 2020-07-18 21:26:15 +0200 | |
---|---|---|
committer | 2020-07-22 18:50:57 -0400 | |
commit | 4f718e6c75d2168d417b4b41c0e3d5408e0afded (patch) | |
tree | 6166a859d2d273ba592d0d15cebf0979fa1c4640 /include | |
parent | swaybar: allow status line cleanup to proceed when hidden (diff) | |
download | sway-4f718e6c75d2168d417b4b41c0e3d5408e0afded.tar.gz sway-4f718e6c75d2168d417b4b41c0e3d5408e0afded.tar.zst sway-4f718e6c75d2168d417b4b41c0e3d5408e0afded.zip |
Fix X11 clients getting stuck minimized
Usually it should be enough to simply not grant a client's
minimize request, however some applications (Steam, fullscreen
games in Wine) don't wait for the compositor and minimize anyway,
getting them stuck in an unrecoverable state.
Restoring them immediately lead to heavy flickering when unfocused
on my test application (Earth Defense Force 5 via Steam), so it's
preferable to grant their request without actually minimizing and
then restoring them once they are in focus again.
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/view.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 665c516f..a32f5907 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h | |||
@@ -147,6 +147,7 @@ struct sway_xwayland_view { | |||
147 | struct wl_listener request_move; | 147 | struct wl_listener request_move; |
148 | struct wl_listener request_resize; | 148 | struct wl_listener request_resize; |
149 | struct wl_listener request_maximize; | 149 | struct wl_listener request_maximize; |
150 | struct wl_listener request_minimize; | ||
150 | struct wl_listener request_configure; | 151 | struct wl_listener request_configure; |
151 | struct wl_listener request_fullscreen; | 152 | struct wl_listener request_fullscreen; |
152 | struct wl_listener request_activate; | 153 | struct wl_listener request_activate; |