View: add fullscreen check missing in previous commit
This commit is contained in:
parent
e6bb373240
commit
fd70a93c67
@ -303,6 +303,7 @@ pub fn sendToOutput(self: *Self, destination_output: *Output) void {
|
|||||||
self.foreign_toplevel_handle.?.outputEnter(destination_output.wlr_output);
|
self.foreign_toplevel_handle.?.outputEnter(destination_output.wlr_output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (self.pending.fullscreen) {
|
||||||
const dimensions = destination_output.getEffectiveResolution();
|
const dimensions = destination_output.getEffectiveResolution();
|
||||||
self.pending.box = .{
|
self.pending.box = .{
|
||||||
.x = 0,
|
.x = 0,
|
||||||
@ -310,6 +311,7 @@ pub fn sendToOutput(self: *Self, destination_output: *Output) void {
|
|||||||
.width = dimensions.width,
|
.width = dimensions.width,
|
||||||
.height = dimensions.height,
|
.height = dimensions.height,
|
||||||
};
|
};
|
||||||
|
}
|
||||||
self.output = destination_output;
|
self.output = destination_output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user