diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-18 21:15:03 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-19 14:31:40 +0200 |
| commit | cd9d4ee395b8b3cf7e12227ea2f8be640e968aab (patch) | |
| tree | 575265d9ddcf13225c9120f611585244e4437e89 /src/seat.zig | |
| parent | 5244618b015e40a5de228b85d28b4fce25bed152 (diff) | |
| download | river-cd9d4ee395b8b3cf7e12227ea2f8be640e968aab.tar.gz river-cd9d4ee395b8b3cf7e12227ea2f8be640e968aab.tar.xz | |
Grab seats focused on the output for layer shell
Diffstat (limited to 'src/seat.zig')
| -rw-r--r-- | src/seat.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/seat.zig b/src/seat.zig index 7407474..cb107fc 100644 --- a/src/seat.zig +++ b/src/seat.zig @@ -155,7 +155,7 @@ pub const Seat = struct { // Focus the layer surface self.sendKeyboardEnter(layer_to_focus.wlr_layer_surface.surface); self.focused_layer = layer_to_focus; - self.focused_output = layer_to_focus.output; + std.debug.assert(self.focused_output == layer_to_focus.output); } else { // If there is a layer currently focused, unfocus it if (self.focused_layer != null) { |
