906 Commits (266cd4515a015b5684eaf6c0b48ce1afa9be2739)

Author SHA1 Message Date
Brian Ashworth ec7d3f181d input_cmd_events: add support for input types
5 years ago
Simon Ser ab00f7f319 Fix output transform rotation direction
5 years ago
Simon Ser a5a4d32816 Fix output transform anticlockwise
5 years ago
Brian Ashworth 7999845357 cmd_swap: fix test_mark condition
5 years ago
Brian Ashworth 33a984bbc5 config: fix validation exit code and log level
5 years ago
Alex Maese 86ee240a4a Add ability to remove the floating modifier
5 years ago
Jason Nader a576bc27bf Check argc>0 before strcasecmp. Should shortcircuit
5 years ago
Jason Nader 450b40c635 commands/move: Fix crash when required args not provided
5 years ago
Ronan Pigott 5501d14a2e cmd_split: Refuse to split scratchpad hidden split containers
5 years ago
Ronan Pigott 72ad35ba16 cmd_move: Fix crash when moving to scratchpad hidden split containers
5 years ago
Ronan Pigott d88d4bbd9d Fix crash when showing scratchpad hidden split containers
5 years ago
Ronan Pigott f68961fbe6 commands/split: Fix error message typos
5 years ago
Pedro Côrte-Real 8008344762 Avoid numerical instability in resize
5 years ago
Brian Ashworth de43f7c1db cmd_client_*: support optional args for i3 compat
5 years ago
Brian Ashworth f898ca9a83 bar_cmd_colors: remove add_color
5 years ago
Brian Ashworth 66dc33296c cmd_client_*: refactor duplicated code
5 years ago
Brian Ashworth 452a615bb8 seat_cmd_keyboard_grouping: change keymap to smart
5 years ago
Drew DeVault 2f3c6cccf5 Add seat <seat> idle_{inhibit,wake} <sources...>
5 years ago
Ronan Pigott 6968fb3123 add scale_filter output config option
5 years ago
Brian Ashworth 1a5797803a config: improvements to the reload validation
5 years ago
Brian Ashworth 5d882cb5fc Add support for wlr_keyboard_group
5 years ago
Brian Ashworth 2f858a1ada input_cmd_xkb_file: allow shell path expansion
5 years ago
Ivan Molodetskikh bd9a53f1a3 view: add max_render_time
5 years ago
Ivan Molodetskikh 022df2542b output: add max_render_time
5 years ago
Tadeo Kondrak 7f54495b5e Use an enum instead of a marker string for map_to_
5 years ago
Tadeo Kondrak 4829f1c26a Implement input map_to_region command
5 years ago
Ronan Pigott 3975ca28c2 smart_borders: separate smartness from edge types
5 years ago
Simon Ser 38b37247ff Add --custom to `output mode` command
5 years ago
Ronan Pigott 1f469e1692 focus: do nothing on focus prev|next for workspaces
5 years ago
lbonn cf95de9cae focus: add a NULL check in `focus <direction>`
5 years ago
Ronan Pigott f5f12a69f6 focus: support focus prev|next [sibling]
5 years ago
lbonn 3ee3a9ef60 focus: support focus_wrapping workspace
5 years ago
Brian Ashworth 1fd2c6ba49 swaybar: complete barconfig_update event handling
5 years ago
Ben Brown b46c53957f Fix typo for the force/immediate option in xwayland_mode enum
5 years ago
Brian Ashworth 1a8b9fda8a cmd_mode: don't reset to default after subcommand
5 years ago
Brian Ashworth 90bef0364b cmd_move: fix move to scratchpad hidden container
5 years ago
lbonn 7baa3ffece Allow moving a container hidden in scratchpad
5 years ago
Brian Ashworth ff7d979d99 cmd_xwayland: add force for immediate launch
5 years ago
Antonin Décimo 813e120979 Remove redundant checks
5 years ago
Antonin Décimo 3af52d86f7 Fix memory leaks
5 years ago
Brian Ashworth f59b665792 cmd_mode: make modes case sensitive
5 years ago
Brian Ashworth a9e31d925f cmd_swap: add floating support
5 years ago
Jeff Peeler 140ce785fe cmd_opacity: add relative opacity changes
5 years ago
Brian Ashworth 8ee054b1b9 bindsym/code: add group support
5 years ago
Pedro Côrte-Real cefc608cb9 Fix resize sibling amount calculations
5 years ago
Ashkan Kiani e4bba906b6 Avoid adding duplicate criteria for no_focus and command
5 years ago
Brian Ashworth 36aa67e549 input_cmd_xkb_switch_layout: support input types
5 years ago
Brian Ashworth 92b22ee9ea cmd_output: support current output alias
5 years ago
Ed Younis 37308f6549 input_cmd_xkb_*: cleanup includes
5 years ago
Ed Younis eb770e88b7 Implement input_cmd_xkb_file (#3999)
5 years ago
Sauyon Lee 9af0b4d2ea Make fullscreen check for fullscreen parents
5 years ago
Pedro Côrte-Real 44c2fafa4f Sanity check gaps between tiled containers
5 years ago
Pedro Côrte-Real d0233af3b3 Rework gaps code to be simpler and correct
5 years ago
Pedro Côrte-Real e3a3917d3a Layout tiled using a width/height fraction
5 years ago
Brian Ashworth c312a10cc7 cmd_split: fix toggle split for non-split layouts
5 years ago
Brian Ashworth 5ffcea4c28 cmd_layout: toggle split for tabbed/stack default
5 years ago
Brian Ashworth 152e30c374 cmd_bindswitch: add option to execute on reload
5 years ago
Sebastian Parborg 538b36c0e2 Make mouse drag in tiled mode swap containers if no edge is selected
5 years ago
Sergei Dolgov c9cb5ced7f calibration_matrix: expect 6 individual values
5 years ago
Sergei Dolgov bcceb61b43 Use isnan
5 years ago
Sergei Dolgov 01ec18e802 Add calibration_matrix config option
5 years ago
Brian Ashworth d0d01810f3 cmd_mode: allow runtime creation and modification
6 years ago
Brian Ashworth fc3253cc35 cmd_seat: split action and config handlers
6 years ago
Brian Ashworth 5069b53d6c config/xwayland: retain xwayland status on reload
6 years ago
Rouven Czerwinski ddad41f423 Fix sway crashes for scratchpad layouts
6 years ago
Brian Ashworth 9670ccee68 bindings: defer while initiailizing
6 years ago
Simon Ser 2bccb387d8 Add a new xkb_switch_layout command
6 years ago
Brian Ashworth 5b1a8d62b9 config/input: validate xkb keymap before storing
6 years ago
Brian Ashworth be2d2a299a commands/input: perform basic keymap validation
6 years ago
Daniel Eklöf 190546fd31 add seat sub command 'xcursor_theme'
6 years ago
Brian Ashworth 799f5a2cd5 cmd_hide_edge_borders: add missing arg count check
6 years ago
Brian Ashworth 6afb392823 bindings: allow unlocked and locked bindings
6 years ago
Brian Ashworth 00cffb8e20 commands/bar: fix mode and hidden_state at runtime
6 years ago
Alyssa Ross e4f1ffe601 commands/bar: improve error for invalid subcommand
6 years ago
Alyssa Ross 5fb5984e94 bar: fix segfault with missing or invalid bar id
6 years ago
Moelf ed2e553b8d Implement output toggle
6 years ago
Brian Ashworth 13cbb3b7fc cmd_move: add support for output current
6 years ago
Konstantin Pospelov ddf63ffabe bindsym: consider xkb_rule_names for --to-code
6 years ago
Konstantin Pospelov 998de8fbc5 bindsym: change default keymap for --to-code
6 years ago
Konstantin Pospelov f1609abe4c config: simplify keysym translation fields
6 years ago
Konstantin Pospelov a09c144b8b Implement bindsym --to-code
6 years ago
Brian Ashworth 09595da0bc cmd_move: allow for all i3 syntax options
6 years ago
mwenzkowski 5e925f06e0 hide_edge_borders.c: add missing case for --i3
6 years ago
Alex Maese 35ddd9aab3 Add unbindsym/unbindcode command for swaybar
6 years ago
Alex Maese 8d4f8aea46 Add unbindswitch command
6 years ago
Alex Maese 852f1f0b34 Create unbindsym and unbindcode commands
6 years ago
Connor E b2cfcebef6 Add deprecation warnings for new_float, new_window, and force_focus_wrapping.
6 years ago
Brian Ashworth 69a1a0ff99 Fix scratchpad fullscreen behavior and crash
6 years ago
Ashkan Kiani 913445e112 Fix potential null accesses
6 years ago
Brian Ashworth bd4c3957ba cmd_focus: raise floating for `<criteria> focus`
6 years ago
Brian Ashworth 75e7bd24cc swaybg: one instance for all outputs
6 years ago
Jan Pokorný bfdee1319f bindings: fix overwrite log argument mismatch
6 years ago
Ashkan Kiani 3a31889d7c Fix crash for floating command on scratchpad window
6 years ago
Brian Ashworth d9de5b8758 Implement inhibit_idle command
6 years ago
Geoff Greer 6e3046878d Add support for manually setting subpixel hinting on outputs.
6 years ago
mliszcz 200833caae Allow for workspace renaming during exec handling
6 years ago
Brian Ashworth 8cd7f0171a cmd_mode: allow cmd_set to be a subcommand
6 years ago
Ryan Dwyer cdcc2a5bb5 Support focus <direction> for floating containers
6 years ago
Ryan Walklin bdb402404c Support WLR_INPUT_DEVICE_SWITCH in sway
6 years ago
Brian Ashworth e687e120e0 output_cmd_background: validate colors
6 years ago
Brian Ashworth 3330faded5 Handle seat_get_focused_workspace returning NULL
6 years ago
Ian Fan 055d662baa commands: allow tiled sticky containers to be moved
6 years ago
emersion 191305468c Fix crash in cmd_workspace when layer surface has focus
6 years ago
Brian Ashworth 430359519c floating_maximum_size: change default behavior
6 years ago
Connor E 9032be4f08 Allow 0 degree transform (normal transform).
6 years ago
Milkey Mouse 2f7247e08a swaybar: add overlay mode (fix #1620)
6 years ago
db 2510e3df38 add --i3 flag to hide_edge_borders
6 years ago
Connor E d4b1e71b91 Make load_include_configs void. Fix some cases where WD would not be restored.
6 years ago
Brian Ashworth 7252ca09a7 move scratchpad: hide visible scratchpad container
6 years ago
Rouven Czerwinski 16ddd00102 commands/move: reintroduce wrongly removed NULL check
6 years ago
Brian Ashworth d3d7956576 Handle NULL from output_get_active_workspace
6 years ago
Eric Drechsel 9bbf10bdfc layout cmd: always operate on parent container, like i3Fixes #3724
6 years ago
Drew DeVault a1e171080d
Merge pull request #3712 from RedSoxFan/fix-typo-seat-cursor
6 years ago
Brian Ashworth 041594d2ab Use container under cursor for mouse bindings
6 years ago
Brian Ashworth 73c8e63438 seat_cmd_cursor: fix typo in expected syntax
6 years ago
Drew DeVault 487c83f0de Add workspace {prev,next}_on_output --create
6 years ago
athrungithub 98b40d31c1 Don't remove from scratchpad on move to workspace
6 years ago
Brian Ashworth d2c896ed84 fix misc memory leaks
6 years ago
Rouven Czerwinski 605e515a93 fix double free for mode toggle if bar was invisible
6 years ago
Brian Ashworth f5190d1f79 bar_cmd_modifier: add support for none
6 years ago
Brian Ashworth 89afb761ba output_cmd_background: fix no file + valid mode
6 years ago
Brian Ashworth f2abe0570f cmd_workspace_gaps: fix double free on bad amount
6 years ago
Brian Ashworth 7299b9a6ca seat_cmd_cursor: do not create non-existing seat
6 years ago
Brian Ashworth f425e81fbe cmd_seat: allow - to be used as alias for current
6 years ago
Brian Ashworth 1bd7400c4d seat_cmd_attach: defer while reading
6 years ago
Brian Ashworth ebe5399ed6 pointer_constraint: change to a seat subcommand
6 years ago
Drew DeVault a6d41254c9 Add pointer_constraint command
6 years ago
athrungithub 5cb3d4769c criteria & scratchpad verify if show in another workspace (#3522)
6 years ago
Ryan Dwyer 6b8bf10941 Introduce container_is_scratchpad_hidden
6 years ago
Drew DeVault 783fadab28
Merge pull request #3423 from RyanDwyer/fullscreen-global
6 years ago
Ryan Dwyer 20aa8ee67d Implement fullscreen global
6 years ago
Ian Fan 5d6f906bd7 Use sway_log_errno instead of strerror
6 years ago
M Stoeckl 0af5b26e41 Fix dead stores found by scan-build
6 years ago
Drew DeVault 71a37ad186
Merge pull request #3494 from ianyfan/commands
6 years ago
Brian Ashworth 8ce57f0a77 root_scratchpad_remove_container: do not show
6 years ago
Ian Fan de9a357de8 util.c: remove numlen function
6 years ago
Ian Fan ec0013b9f5 commands: allow setting floating on scratchpad containers
6 years ago
Ian Fan 34dea3d9d2 commands: allow tiled containers to be stickied
6 years ago
Ryan Dwyer 42f8a038c9 Remove assumption that noop output will be called NOOP-1
6 years ago
Ryan Dwyer 7f8ea60e71 Don't allow noop output to be configured
6 years ago
Ryan Dwyer 75e7ce82f5 Prevent noop output from being enabled
6 years ago
M Stoeckl d7ff776552 Move sway-specific functions in common/util.c into sway/
6 years ago
Drew DeVault cddb057343
Merge pull request #3480 from RedSoxFan/input-modes-improved-toggle
6 years ago
M Stoeckl 1211a81aad Replace wlr_log with sway_log
6 years ago
Brian Ashworth 91c1f44956 input_cmd_events: allow toggle modes to be listed
6 years ago
emersion d803861504
Don't escape swaybg arguments anymore
6 years ago
Brian Ashworth 02bbefda20 bar_cmd_tray_bind: Use mouse button helpers
6 years ago
Brian Ashworth 81e595e6e8 cmd_resize: allow resizing hidden scratchpad by px
6 years ago
Brian Ashworth 3087942c35 Handle hidden scratchpad containers in commands
6 years ago
Ryan Dwyer 289130430f Fix invalid pointers when using resize grow width on first/last siblings
6 years ago
Ryan Dwyer 2024f1da72 Resize only current and immediate siblings rather than all siblings
6 years ago
M Stoeckl 2a684cad5f Remove now-unused "input" argument of cmd_results_new
6 years ago
Ryan Dwyer b322432eff Use uint32_t where resize axis might contain a bitfield
6 years ago
Ryan Dwyer 22ac1c121a Replace resize_axis with wlr_edges
6 years ago
Drew DeVault 4879d40695
Merge pull request #3144 from emersion/cmd-xwayland
6 years ago
Drew DeVault 81bb675274
Merge pull request #3344 from RedSoxFan/bar-mouse-bindings-improved
6 years ago
Drew DeVault 9f9ef76175
Merge pull request #3343 from RedSoxFan/seat-cursor-buttons-improved
6 years ago
Drew DeVault db1631b67d
Merge pull request #3342 from RedSoxFan/scroll-buttons-improved
6 years ago
Drew DeVault 4eb0767414
Merge pull request #3398 from RedSoxFan/toggle-input-events
6 years ago
Brian Ashworth ca0a75d540 swaybar: add status_edge_padding command
6 years ago
Brian Ashworth c0f92cb2fb swaybar: add status_padding command
6 years ago
Brian Ashworth 4e6bd53abf input_cmd_scroll_button: utilize mouse btn helpers
6 years ago
Brian Ashworth 3d6440ec26 bar_cmd_bind: utilize mouse button helpers
6 years ago
Brian Ashworth aa1c838f97 seat_cmd_cursor: utilize mouse button helpers
6 years ago
Brian Ashworth 55e1d599a2 input_cmd_events: implement toggle
6 years ago
Brian Ashworth eefa6b1ad3 bind{code,sym}: utilize mouse button helpers
6 years ago
Ryan Dwyer 14cab78612 Reset container dimensions when moving into workspace from direction
6 years ago
Jan Beich 0a4c4f3e52 Simplify evdev includes on FreeBSD by relying on up-to-date package
6 years ago
emersion d06782c5e7
Merge pull request #3386 from RedSoxFan/seat-reload-wait
6 years ago
emersion 8daea2bfec
Merge pull request #3390 from RedSoxFan/execute-seat
6 years ago
Brian Ashworth fdc262d402 cmd_bind: pass the seat to execute_command
6 years ago
Brian Ashworth c4122e3975 cmd_swap: use handler context seat
6 years ago
Brian Ashworth f33969358c reload: apply seat cfgs after reading entire cfg
6 years ago
emersion 353d9ed74f
Merge pull request #3337 from RedSoxFan/fix-seat-cmd-cursor
6 years ago
Brian Ashworth 5bf4daf263 Implement tiling_drag_threshold
6 years ago
Ian Fan f33b5c5223 swaybar: do not create tray if hidden
6 years ago
Ian Fan 6b03c68775 swaybar: implement tray config
6 years ago
Brian Ashworth 4d88c95790 hide_cursor: change to a seat subcommand
6 years ago
Brian Ashworth 6ec2983d96 seat_cmd_cursor: work on seat name provided
6 years ago
Brian Ashworth 3e8f548d1d Revamp seat configs
6 years ago
Rune Morling 612702591c swaybar: fix focused_statusline color parsing.
6 years ago
Brian Ashworth 5fca74a1f1 Implement hide_cursor <timeout> command
6 years ago
Brian Ashworth a223030b70 Change mouse buttons to x11 map and libevdev names
6 years ago
Brian Ashworth 88d96bc41f Combine output_by_name and output_by_identifier
6 years ago
Ryan Dwyer 3a4f4f5d66 Return success when renaming a workspace to itself
6 years ago
Brian Ashworth 4e2cfe0526 cmd_split: add null checks in do_split
6 years ago
Ian Fan 98c1e19466 list.c: rename free_flat_list to list_free_items_and_destroy
6 years ago
Ian Fan c8776fac42 Cleanup list code
6 years ago
Ian Fan 19e831ed3d list.c: Remove list_foreach
6 years ago
Brian Ashworth 7b23a1a0d8 cmd_split: flatten when possible
6 years ago
Brian Ashworth 2942bbbc60 cmd_focus: show scratchpad if hidden
6 years ago
Alex Maese 1a1a2d96cb Add option to bindsym/bindcode to suppress warning on override
6 years ago
mwenzkowski b5c92e5d3b Fix the error result of the fullscreen command
6 years ago
Brian Ashworth 1bd8463481 Implement bar gaps
6 years ago
Brian Ashworth 5341e034df
Merge pull request #3212 from martinetd/move_floating
6 years ago
Brian Ashworth e5f90f25d7 Introduce a way to show config warnings in swaynag
6 years ago
Dominique Martinet 2543834172 move to workspace: fix moving floating container to non-empty workspace
6 years ago
Brian Ashworth 5c6f3d7266 Change execute_command to return a list of results
6 years ago
Ryan Dwyer af7a97623b
Merge pull request #3185 from emersion/remove-xopen-source
6 years ago
Brian Ashworth e6562c8cd2 Implement title alignment
6 years ago