session-lock: handle output unplugging better

This commit is contained in:
tiosgz
2022-11-13 16:45:18 +01:00
committed by Isaac Freund
parent 33187e0b09
commit 49efbfe046
13 changed files with 70 additions and 51 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ fn handleSetOverrideRedirect(
fn handleCommit(listener: *wl.Listener(*wlr.Surface), surface: *wlr.Surface) void {
const self = @fieldParentPtr(Self, "commit", listener);
self.view.output.damage.addWhole();
self.view.output.damage.?.addWhole();
self.view.surface_box = .{
.x = 0,