mirror of
https://github.com/swaywm/sway.git
synced 2026-04-20 06:47:03 -04:00
seat: Drop has_exclusive_layer
We can just check if the current focused layer has exclusive input.
This commit is contained in:
parent
5e18ed3cf0
commit
1800b1266b
2 changed files with 5 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue