xdg-shell: honor fullscreen requests
This commit is contained in:
@ -30,9 +30,6 @@ pub fn toggleFullscreen(
|
||||
if (args.len > 1) return Error.TooManyArguments;
|
||||
|
||||
if (seat.focused_view) |view| {
|
||||
// If transitionng from fullscreen -> float, return to the saved
|
||||
// floating dimensions.
|
||||
if (view.pending.fullscreen and view.pending.float) view.pending.box = view.float_box;
|
||||
view.setFullscreen(!view.pending.fullscreen);
|
||||
view.output.root.arrange();
|
||||
}
|
||||
|
Reference in New Issue
Block a user