View: add fullscreen check missing in previous commit
This commit is contained in:
parent
e6bb373240
commit
fd70a93c67
@ -303,13 +303,15 @@ 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
const dimensions = destination_output.getEffectiveResolution();
|
if (self.pending.fullscreen) {
|
||||||
self.pending.box = .{
|
const dimensions = destination_output.getEffectiveResolution();
|
||||||
.x = 0,
|
self.pending.box = .{
|
||||||
.y = 0,
|
.x = 0,
|
||||||
.width = dimensions.width,
|
.y = 0,
|
||||||
.height = dimensions.height,
|
.width = dimensions.width,
|
||||||
};
|
.height = dimensions.height,
|
||||||
|
};
|
||||||
|
}
|
||||||
self.output = destination_output;
|
self.output = destination_output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user