diff options
author | Erik Reider <[email protected]> | 2023-03-26 17:44:21 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-26 11:44:21 -0400 |
commit | f2d29ceb6b831a07ce2bce4534fe6fec1f16eee3 (patch) | |
tree | d90b5fd546d6f55c7be7d0af43863f8f9262b4db /sway/commands.c | |
parent | 7d5d7a3022eb17835cea7af7290b1a5d2fe4b03a (diff) |
Extend minimize logic to work with XWayland and XDG applications (#132)
* Extend minimize logic
* Removed redundant xwayland minimize logic
* minor fixes
* Fixed not properly checking if window is ran though XWayland
* Added config option with default being off
* Set scratchpad_minimize to true by default
* Improve config dependant logic
* Switch to using enable|disable instead of on|off
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c index b8b98e99..fbe17039 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -115,6 +115,7 @@ static const struct cmd_handler handlers[] = { static const struct cmd_handler config_handlers[] = { { "default_orientation", cmd_default_orientation }, { "include", cmd_include }, + { "scratchpad_minimize", cmd_scratchpad_minimize }, { "swaybg_command", cmd_swaybg_command }, { "swaynag_command", cmd_swaynag_command }, { "workspace_layout", cmd_workspace_layout }, |