seat: Drop has_exclusive_layer

We can just check if the current focused layer has exclusive input.
This commit is contained in:
Alexander Orzechowski 2024-03-02 18:13:59 -05:00
parent 5e18ed3cf0
commit 1800b1266b
2 changed files with 5 additions and 10 deletions

View file

@ -99,8 +99,6 @@ struct sway_seat {
char *prev_workspace_name; // for workspace back_and_forth
struct wlr_layer_surface_v1 *focused_layer;
// If the exclusive layer is set, views cannot receive keyboard focus
bool has_exclusive_layer;
// Last touch point
int32_t touch_id;