command for defining default floating height / width

This commit is contained in:
Jansen 2025-03-18 17:44:04 +01:00
parent 2f5b3c0999
commit 8f0b61ce70
8 changed files with 64 additions and 2 deletions

View file

@ -129,6 +129,8 @@ sway_cmd cmd_exec;
sway_cmd cmd_exec_always;
sway_cmd cmd_exit;
sway_cmd cmd_floating;
sway_cmd cmd_floating_default_height;
sway_cmd cmd_floating_default_width;
sway_cmd cmd_floating_maximum_size;
sway_cmd cmd_floating_minimum_size;
sway_cmd cmd_floating_modifier;

View file

@ -582,6 +582,9 @@ struct sway_config {
int32_t floating_minimum_width;
int32_t floating_minimum_height;
float floating_default_height;
float floating_default_width;
// The keysym to keycode translation
struct xkb_state *keysym_translation_state;