diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-25 21:40:26 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-26 12:29:08 +0200 |
| commit | 454e2454b68841a90cb321b672adaeac8d10ed87 (patch) | |
| tree | 16f904a82df0198ac0e7129994dc773e380bd349 /src/view_stack.zig | |
| parent | 609eeae6f446247f2cc3219d65b25647de828cb3 (diff) | |
| download | river-454e2454b68841a90cb321b672adaeac8d10ed87.tar.gz river-454e2454b68841a90cb321b672adaeac8d10ed87.tar.xz | |
Separate View from its implementation
This is done in preperation for Xwayland support
Diffstat (limited to 'src/view_stack.zig')
| -rw-r--r-- | src/view_stack.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view_stack.zig b/src/view_stack.zig index 2c9227f..c08db03 100644 --- a/src/view_stack.zig +++ b/src/view_stack.zig @@ -75,7 +75,7 @@ pub fn ViewStack(comptime T: type) type { /// This function is horribly ugly, but it's well tested below. pub fn next(self: *Iterator) ?*Node { while (self.it) |node| : (self.it = if (self.reverse) node.prev else node.next) { - if (node.view.mapped and if (self.pending) + if (node.view.wlr_surface != null and if (self.pending) if (node.view.pending_tags) |pending_tags| self.tags & pending_tags != 0 else |
