530 Commits (0e85b92250f8f6f01134a2d53f735567896f2ec8)

Author SHA1 Message Date
Ryan Dwyer 3a888163a0 Refactor seat_get_focus functions
6 years ago
Ryan Dwyer b4a0363d17 Implement resizing tiled containers via cursor
6 years ago
Ryan Dwyer 4ad1ccc9dc Remove container_for_each_descendant_bfs
6 years ago
Ryan Dwyer 6c730a2cb2 Implement resize set <width> <height> for tiled containers
6 years ago
Ryan Dwyer 9395d3c93c Implement resize grow|shrink <direction> <amount> for tiled containers
6 years ago
Brian Ashworth b6f4623551 Don't call swaynag_log for bg when not reading
6 years ago
Brian Ashworth 43d1ffc9dd Allow a fallback color to be specified for swaybg
6 years ago
Ryan Dwyer 5653fc754b Deny moving a sticky container to workspace if it's the same output
6 years ago
Ryan Dwyer 5ac6f2f429 Fix crash when running `move container to workspace back_and_forth`
6 years ago
Brian Ashworth 639f3368e1
Merge branch 'master' into workspace-move-to-output
6 years ago
Ryan Dwyer f57a3919cf Move workspace moving code out of container_move_to
6 years ago
Ian Fan f7c21451df commands: fix workspace edge cases
6 years ago
Ian Fan 667b8dcb67 commands: check for special workspaces in workspace & move commands
6 years ago
Ian Fan dd48c8a579 commands: add optional flags to move
6 years ago
Ian Fan 85ae121caa commands: complete workspace implementation
6 years ago
Ian Fan 356063b6c0 commands: fix layout implementation (also better name for previous split layout)
6 years ago
Ian Fan 69e1a421fc commands: complete move implementation
6 years ago
Ian Fan be64c46624 commands: complete layout implementation
6 years ago
Ryan Dwyer 30e7e0f7c7 Move workspace pid code to root.c
6 years ago
Ryan Dwyer 04489ff420 Separate root-related code
6 years ago
Brian Ashworth a7f7d4a488 Write to swaynag pipe fd directly on config errors
6 years ago
Brian Ashworth f9a6407111 Show swaynag on config errors
6 years ago
Ryan Dwyer 9e8d628a17 Deny "move container" when an empty workspace is focused
6 years ago
Drew DeVault 8e60f6a732
Merge pull request #2404 from RyanDwyer/move-containers-when-workspace-focused
6 years ago
Marien Zwart 7d8413d962 Reset signal mask after fork
6 years ago
Ryan Dwyer d64c8df7ce Allow moving containers when workspace itself is focused
6 years ago
Ian Fan 03eaf444a4 ipc: prevent emitting a workspace::focus event when moving a container to a different workspace or output
6 years ago
Ian Fan d898e035ba ipc: add workspace::reload event
6 years ago
Ian Fan 6865b8aae9 ipc: add binding event
6 years ago
Ian Fan 317217f2c8 ipc: add window::mark event
6 years ago
Ian Fan dd6debf367 ipc: add barconfig_update event on config reload
6 years ago
Brian Ashworth 00a00aacef Create list for mouse binds when creating new mode
6 years ago
Ryan Dwyer 9d1f6e095b Send floating container to scratchpad when a child is focused
6 years ago
Ryan Dwyer 538e083f61 Fix focus mode_toggle from a child of a floating container
6 years ago
Ryan Dwyer c95847c9e1 Allow splitting a floating view
6 years ago
Ryan Dwyer da2a87f6c7 When unfloating, return container to previously focused tiled container
6 years ago
Ryan Dwyer 936168e740 Operate on floating split container when a child is focused
6 years ago
Ryan Dwyer 08cfba2192 Allow containers to float
6 years ago
Ryan Dwyer 27a20a4884 Allow containers to be fullscreen
6 years ago
ProgAndy 0ba52458ab Restrict CapsLock and NumLock commands to the configuration file
6 years ago
ProgAndy c7a3a03115 Add xkb_numlock/xkb_capslock commands (#2311)
6 years ago
Drew DeVault fc718f629a
Merge pull request #2350 from ppascher/xwayland-optional
6 years ago
Pascal Pascher f95cb9a7c1 reverted includes of "sway/config.h" and replaced with "config.h" from meson build
6 years ago
Pascal Pascher 79a45d4a40 more style fixes, included "sway/config.h" where needed
6 years ago
Brian Ashworth dca02944ce Implement floating_modifier <mod> [inverse|normal]
6 years ago
Pascal Pascher 2bf893248a style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false
6 years ago
Pascal Pascher 24ad1c3983 Added meson option "enable_xwayland" (default: true) to enable/disable xwayland support
6 years ago
Drew DeVault 817d37c950
Merge pull request #2165 from swaywm/pid-workspaces
6 years ago
Ryan Dwyer e02a6718c2
Merge branch 'master' into mouse-bindings
6 years ago
frsfnrrg 94dd8823a0 Invoke mouse bindings
6 years ago
Brian Ashworth 9ec1d6cf79 Address review comments on parse_boolean
6 years ago
Brian Ashworth 863914ec95 Switch to using a function to parse booleans
6 years ago
frsfnrrg 754372c3de Parse mouse binding options
6 years ago
Drew DeVault f4b882475e Merge branch 'master' into pid-workspaces
6 years ago
Ryan Dwyer 12e90fa600 Store scratchpad list in sway_root instead of server
6 years ago
Ryan Dwyer 81e8f31cc6 Implement scratchpad
6 years ago
Ryan Dwyer 86f5531511 Remove unnecessary includes
6 years ago
Ryan Dwyer 9fbe13b9be Implement floating_modifier and mouse operations for floating views
6 years ago
Brian Ashworth bc7d332109 Reset outputs on reload
6 years ago
Ryan Dwyer 37b33f92e8 Fix urgent timer logic and remove unnecessary header includes
6 years ago
Ryan Dwyer c2ed3d8bd6 Implement force_display_urgency_hint
6 years ago
Brian Ashworth 9605ab45f1 Fix output wildcard handling
6 years ago
Ryan Dwyer 32806d16ee Use parse_movement_direction
6 years ago
Ryan Dwyer 08736255a3 Defer the focus commands
6 years ago
Ryan Dwyer a173b79c54 Implement focus output command
6 years ago
Ryan Dwyer 75c699db62 Implement default_floating_border command and adjust CSD behaviour
6 years ago
Drew DeVault d6bd314dff
Merge pull request #2276 from RyanDwyer/urgency
6 years ago
Ryan Dwyer fc2484095a Implement no_focus command
6 years ago
Ryan Dwyer 315d5311b2 Implement urgency base functionality
6 years ago
Ian Fan ba8981e44b bar: free old position when changing
6 years ago
Drew DeVault 53e3f35ba3
Merge pull request #2272 from RyanDwyer/simplify-transactions
6 years ago
Ryan Dwyer 2032f85d94 Simplify transactions by utilising a dirty flag on containers
6 years ago
Brian Ashworth 13c6627ddb Implement tap_button_map for input devices
6 years ago
Ryan Dwyer 0584ecec0a Force min/max size when resizing floating containers
6 years ago
Ryan Dwyer 5940682f40 Implement resize grow|shrink <direction> <amount> or <amount>
6 years ago
Ryan Dwyer 558ca9fc28 Implement resize command for floating views
6 years ago
Robert Kubosz f8bc928b2d
add error handling for scroll button out of range
6 years ago
Robert Kubosz 89db5b5716
expanded error detection for scroll button option
6 years ago
Robert Kubosz 094edcbea2
rm constraint for max value of button identifier
6 years ago
Robert Kubosz 08edaf4e76
increase maximum value of button identifier
6 years ago
Robert Kubosz 41b80c28df
add scroll button option
6 years ago
Ryan Dwyer f2d1cf3ceb Implement floating_minimum_size and floating_maximum_size
6 years ago
Ian Fan 23c1c26c3f Add get_config message type to ipc
6 years ago
Drew DeVault 6fd9a2bfd6
Merge branch 'master' into focus-mode-toggle
6 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
emersion 48c98b676f
Implement `focus mode_toggle`
6 years ago
Ryan Dwyer ab8a86369c Implement some floating move commands
6 years ago
Brian Ashworth 78c08fb0a2 Implement mode --pango_markup
6 years ago
Dominique Martinet e67c8cf1cb cmd_assign: fix leak on error
6 years ago
Dominique Martinet c73c552cae bar_cmd_modifier: fix use-after-free on error
6 years ago
Dominique Martinet 6d2b82253a bar_cmd_font: fix leak of font
6 years ago
Dominique Martinet a2354d5992 cmd_background: fix leak on error
6 years ago
Dominique Martinet ab18740529 output commands: move !argc checks after argc gets decremented
6 years ago
Dominique Martinet 5690bea227 input_config: free new_input_config on error
6 years ago
Dominique Martinet ce17788533 exec_always: fix leaks
6 years ago
Drew DeVault acd79e1505 Implement pid->workspace tracking
6 years ago
Ryan Dwyer fc6fde7d90 Fix compile error
6 years ago
Ryan Dwyer a2fbb20a61 Merge remote-tracking branch 'upstream/master' into atomic
6 years ago
Ryan Dwyer e8fb6b3325 Fix crash when moving last child of a container to workspace or output
6 years ago
Thomas Plaçais 9a3c6d2dbe Check if command input has at least 2 arguments
7 years ago
ael-code a4578815f1
cleanup output-background subcommand handling
7 years ago
ael-code 4550cb2b3e
fix memleak on background cmd error
7 years ago
Ryan Dwyer b6a238c7b7 Fix crash when running move <direction> in an empty workspace
7 years ago
Ryan Dwyer b864ac0149 Fix crash when unmapping a view with reapable parents
7 years ago
Ryan Dwyer b11c9199a6 Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Ryan Dwyer 38398e2d77 Implement atomic layout updates for tree operations
7 years ago
ael-code ad085c1332
bugfix: avoid access after free
7 years ago
Ryan Dwyer 645bf446fa Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
frsfnrrg b23cd827cf Sort binding key lists
7 years ago
Ryan Dwyer 9e96cfd310 Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Nate Symer 6a910b9ba5 Implement gaps (PR #2047)
7 years ago
Ryan Dwyer bb66e6d578 Refactor everything that needs to arrange windows
7 years ago
Dominique Martinet d26a0a1a6e sway exec command: use waitpid instead of wait
7 years ago
Brian Ashworth e072fbc6d9 Switch output storing from list_t to wl_list
7 years ago
Brian Ashworth a1b5b93d29 Store sway_outputs so that they can be reenabled
7 years ago
Brian Ashworth 51fa988be9 Address review comments for output subcommands
7 years ago
Brian Ashworth 5ea4a4d3ee Refactor cmd_output to use config_subcommand
7 years ago
Brian Ashworth 8bfa2def88 Address first round of review for generic blocks
7 years ago
Brian Ashworth 7c810dc344 Make command block implementation generic
7 years ago
frsfnrrg eb00edc6e2 Style fixes for bind.c
7 years ago
frsfnrrg 705230a26c Fix binding bindcode flag initialization
7 years ago
frsfnrrg f5ed65e633 Use XKB keycode numbering for bindcode
7 years ago
frsfnrrg d77681ea3d Share common code between bindsym and bindcode commands
7 years ago
Drew DeVault 96446fdbf7
Merge pull request #2027 from RyanDwyer/implement-floating
7 years ago
Brian Ashworth edf37f27e1 Fix cmd_workspace crash when a surface has focus
7 years ago
Ryan Dwyer 70c2c50445 Fix changing borders on floating views
7 years ago
Ryan Dwyer f7cadf2333 Adjust move command to account for changed coordinate system
7 years ago
Ryan Dwyer 5d69a56209 Prevent splitting a floating view
7 years ago
Ryan Dwyer aaba7642b3 Replace is_floating boolean with function
7 years ago
Ryan Dwyer 1f2e399ade Implement floating
7 years ago
Drew DeVault 1132efe42e Send frame done to floating views
7 years ago
Drew DeVault f3ab895916 Implement `floating enable`
7 years ago
Brian Ashworth d76729af22 Implement config parser for workspace_layout
7 years ago
Brian Ashworth c81d0ef1e8 Support i3's legacy force_focus_wrapping command
7 years ago
emersion 1071785f56
Merge pull request #2060 from RedSoxFan/focus-wrapping
7 years ago
Brian Ashworth 46da1dc32b Implement focus_wrapping
7 years ago
Ryan Dwyer 7c7d24600b Fix ancestor typos
7 years ago
frsfnrrg a78a5684ea Implement bindsym/bindcode --locked
7 years ago
Brian Ashworth 569f4e0e4c Implement swap command
7 years ago
Ryan Dwyer db38b9bbf3 Clean up container title functions
7 years ago
Ryan Dwyer 664169fbf1 Implement stacked layout
7 years ago
Ryan Dwyer c08f9bf257 Implement tabbed layout
7 years ago
Brian Ashworth 82cd55a670 Fix border commands from changing focus
7 years ago
Ryan Dwyer 0e2cc0af30 Implement show_marks
7 years ago
Ryan Dwyer 4d1edfcba9 Change unmark implemention to match i3's
7 years ago
Ryan Dwyer 22d38600d0 Implement marks
7 years ago
emersion 95a10dd4f3
Kill wl_shell
7 years ago
Ryan Dwyer 1e9aaa54a8 Revert "Revert "Merge pull request #1943 from RyanDwyer/criteria-improvements""
7 years ago
Drew DeVault 61aa0937a7
Merge pull request #1824 from snaggen/idle
7 years ago
Mattias Eriksson 8fbafbfab5 Idle handling for dpms/lockscreen et al
7 years ago
Drew DeVault 32a572cecf Revert "Merge pull request #1943 from RyanDwyer/criteria-improvements"
7 years ago
Drew DeVault 3e1bf721c6
Merge pull request #1943 from RyanDwyer/criteria-improvements
7 years ago
Brian Ashworth 3db7fc2bb2 Implement hide_edge_borders
7 years ago
Drew DeVault 2217518bd5
Merge pull request #1956 from ggreer/move-focus
7 years ago
Geoff Greer 87fa84df13 cmd_move_container: Focus a window on the source workspace.
7 years ago
Geoff Greer 0a79983f94 Allow setting border widths for normal borders using default_border.
7 years ago
Ryan Dwyer 3b0c26d149 Overhaul criteria implementation
7 years ago
Rostislav Pehlivanov b592351eef Revert "exec_always: Search for executables in /usr/lib/sway"
7 years ago
Rostislav Pehlivanov 2c0c3dc7cc Revert "Make the LIBDIR path configurable"
7 years ago
Rostislav Pehlivanov 0cdc47ab1e Revert "Meson: Replace option `instlibdir` with `libexecdir`"
7 years ago
Rostislav Pehlivanov cf602687c6 Revert "command/exec_always: Use wlr_log for logging errors in the child process"
7 years ago
Ryan Dwyer 556ff5f50e Implement pango support
7 years ago
Ryan Dwyer 1daf69477e Fix PATH setenv() in exec_always
7 years ago
emersion 786727d8bb
Merge branch 'master' into usr-lib
7 years ago
Nicolas Braud-Santoni 177c67e6b8 command/exec_always: Use wlr_log for logging errors in the child process
7 years ago
Nicolas Braud-Santoni 830c4ef74c Meson: Replace option `instlibdir` with `libexecdir`
7 years ago
Nicolas Braud-Santoni 1670b46bf6 Make the LIBDIR path configurable
7 years ago
Nicolas Braud-Santoni 7709340727 exec_always: Search for executables in /usr/lib/sway
7 years ago
Ryan Dwyer 5d6d24e71a Move code for re-arranging after font height change into a common place
7 years ago
Ryan Dwyer d10a0a8c41 Fix memory leak in title_format command
7 years ago
Ryan Dwyer 228c478e8d Implement title_format
7 years ago
emersion 29224e7aec
Fix segfault when running the resize command without arguments
7 years ago
Drew DeVault 58a033d816 Convert border_colors.text to float[4]
7 years ago
Ryan Dwyer 55b307cddf Calculate config->font_height based on existing container titles
7 years ago
Ryan Dwyer b667298a0a Render titles
7 years ago
Ryan Dwyer daab8e3503 Support alpha in border colours
7 years ago
Ryan Dwyer cb07434913 Remove unnecessary pointers
7 years ago
Ryan Dwyer 51df1d4ff8 Update cursor when border is changed
7 years ago
Ryan Dwyer e67f354333 Implement borders
7 years ago
Ryan Dwyer 167c2e1aa9 Refactor arrange_windows()
7 years ago
emersion ff61df17ff
Add map_from_region command
7 years ago
Ryan Dwyer ae39d7b28c Remove sway_container.workspace_layout
7 years ago
Ryan Dwyer 689a6a5605 Use size_t instead of int and calloc instead of malloc
7 years ago
Ryan Dwyer 72767e1cc3 Implement criteria commands
7 years ago
Ryan Dwyer fbb5198e43 Sort workspaces after rename
7 years ago
Ryan Dwyer d956286b92 Implement rename workspace command
7 years ago
emersion 4cf77e1de4
Default to current time when triggering cursor events
7 years ago
Drew DeVault 21eb63cc9e
Merge branch 'master' into fullscreen
7 years ago
Ryan Dwyer 9d3739a6f7 Split repeat commands into separate files.
7 years ago
Ryan Dwyer 5b30391383 Make key repeat configurable
7 years ago
Ryan Dwyer 72beae209b Fullscreen fixes.
7 years ago
Ryan Dwyer bfd5834f4c Feedback for fullscreen.
7 years ago
Ryan Dwyer 52420cc24d Implement fullscreen.
7 years ago
Dominique Martinet 25af959fe9 Fix gcc string truncation warnings
7 years ago
Danny Bautista c355d680e9 Clean up cursor simulation code.
7 years ago
Danny Bautista 1edb2bd892 Implement cursor event simulation with sway commands.
7 years ago
db 63b2543749 Add workspace_auto_back_and_forth for move cmd
7 years ago
Drew DeVault 07b6be6214
Merge pull request #1769 from acrisci/focus-inactive-fixes
7 years ago
Drew DeVault 0e3ddf255e Add input "identifier" map_to_output "identifier"
7 years ago
Tony Crisci ae78f6fb93 Merge branch 'wlroots' into focus-inactive-fixes
7 years ago