Root: fix more fullscreen bugs

Moving fullscreen views between outputs now works properly.
A case in which we did not inform the client that it is no longer
fullscreen has been fixed as well.
This commit is contained in:
Isaac Freund
2023-03-01 12:16:53 +01:00
parent 5f0af38992
commit c1c72e23a3
2 changed files with 39 additions and 28 deletions

View File

@ -119,6 +119,9 @@ pending: struct {
///
/// This includes both floating/fullscreen views and those arranged in the layout.
wm_stack: wl.list.Head(View, .pending_wm_stack_link),
/// The view to be made fullscreen, if any.
/// This state should only be read/written inside Root.applyPending()
fullscreen: ?*View = null,
},
/// The state most recently sent to the layout generator and clients.