Revert "Deduplicate some state"
I changed my mind, it's cleaner to keep things like this and will be consistent with views.
This commit is contained in:
@ -268,7 +268,7 @@ pub const Output = struct {
|
||||
while (it) |node| : (it = node.prev) {
|
||||
const layer_surface = &node.data;
|
||||
// Only mapped surfaces may gain focus
|
||||
if (layer_surface.wlr_layer_surface.mapped and
|
||||
if (layer_surface.mapped and
|
||||
layer_surface.wlr_layer_surface.current.keyboard_interactive)
|
||||
{
|
||||
break :outer layer_surface;
|
||||
|
Reference in New Issue
Block a user