mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05:00
Make mouse key used for drag/resize configurable
This makes it possible to define what mouse button key (left|right) to use for dragging/resizing.
This commit is contained in:
parent
a7710c5537
commit
22916e9ebc
4 changed files with 93 additions and 21 deletions
|
|
@ -101,6 +101,8 @@ static void config_defaults(struct sway_config *config) {
|
|||
list_add(config->modes, config->current_mode);
|
||||
|
||||
config->floating_mod = 0;
|
||||
config->dragging_key = M_LEFT_CLICK;
|
||||
config->resizing_key = M_RIGHT_CLICK;
|
||||
config->default_layout = L_NONE;
|
||||
config->default_orientation = L_NONE;
|
||||
// Flags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue