From f2d29ceb6b831a07ce2bce4534fe6fec1f16eee3 Mon Sep 17 00:00:00 2001 From: Erik Reider <35975961+ErikReider@users.noreply.github.com> Date: Sun, 26 Mar 2023 17:44:21 +0200 Subject: 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 --- sway/config.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/config.c') diff --git a/sway/config.c b/sway/config.c index d1949a3a..24022762 100644 --- a/sway/config.c +++ b/sway/config.c @@ -344,6 +344,7 @@ static void config_defaults(struct sway_config *config) { config->shadow_blur_sigma = 20.0f; color_to_rgba(config->shadow_color, 0x0000007F); config->titlebar_separator = true; + config->scratchpad_minimize = true; // The keysym to keycode translation struct xkb_rule_names rules = {0}; -- cgit v1.2.3