mirror of
https://github.com/swaywm/sway.git
synced 2025-11-03 09:01:43 -05:00
Implement focus_wrapping
This commit is contained in:
parent
b2c0ba5b18
commit
46da1dc32b
8 changed files with 59 additions and 10 deletions
|
|
@ -285,6 +285,12 @@ struct ipc_policy {
|
|||
uint32_t features;
|
||||
};
|
||||
|
||||
enum focus_wrapping_mode {
|
||||
WRAP_NO,
|
||||
WRAP_YES,
|
||||
WRAP_FORCE
|
||||
};
|
||||
|
||||
/**
|
||||
* The configuration struct. The result of loading a config file.
|
||||
*/
|
||||
|
|
@ -320,7 +326,7 @@ struct sway_config {
|
|||
// Flags
|
||||
bool focus_follows_mouse;
|
||||
bool mouse_warping;
|
||||
bool force_focus_wrapping;
|
||||
enum focus_wrapping_mode focus_wrapping;
|
||||
bool active;
|
||||
bool failed;
|
||||
bool reloading;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue