aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/floating_modifier.c
Commit message (Collapse)AuthorAge
* Add ability to remove the floating modifierLibravatar Alex Maese2020-01-20
|
* Move sway-specific functions in common/util.c into sway/Libravatar M Stoeckl2019-01-21
| | | | | | Modifier handling functions were moved into sway/input/keyboard.c; opposite_direction for enum wlr_direction into sway/tree/output.c; and get_parent_pid into sway/tree/root.c .
* Remove now-unused "input" argument of cmd_results_newLibravatar M Stoeckl2019-01-14
| | | | | | | | | Patch tested by compiling with `__attribute__ ((format (printf, 2, 3)))` applied to `cmd_results_new`. String usage constants have been converted from pointers to arrays when encountered. General handler format strings were sometimes modified to include the old input string, especially for unknown command errors.
* Implement floating_modifier <mod> [inverse|normal]Libravatar Brian Ashworth2018-07-24
|
* Remove unnecessary includesLibravatar Ryan Dwyer2018-07-22
|
* Implement floating_modifier and mouse operations for floating viewsLibravatar Ryan Dwyer2018-07-22
This implements the following: * `floating_modifier` configuration directive * Drag a floating window by its title bar * Hold mod + drag a floating window from anywhere * Resize a floating view by dragging the border * Resize a floating view by holding mod and right clicking anywhere on the view * Resize a floating view and keep aspect ratio by holding shift while resizing using either method * Mouse cursor turns into resize when hovering floating border or corner