492 Commits (9c833c661ac9e061bf4d666065e3090639f481ff)

Author SHA1 Message Date
Ryan Dwyer 0f6d212629 Send output enter/leave events correctly
6 years ago
Ryan Dwyer 2b5a404ac9 Replace hacky L_FLOATING container with a list
6 years ago
Ian Fan 37e37627ca commands: move newly-stickied containers to focused workspace
6 years ago
Ian Fan b3f7801fca commands: prevent focusing mode with no containers
6 years ago
Ian Fan 23601a8771 commands: complete assign command
6 years ago
Ian Fan e81cc8a575 commands: saner workspace number handling
6 years ago
Ian Fan 69e00151bb commands: handle quoted exec command
6 years ago
Ian Fan 453646b887 commands: fix documentation formatting mistakes for move command
6 years ago
Ian Fan 7717c2231a commands: require set variable to start with $
6 years ago
Ian Fan c1af79532f commands: add nop
6 years ago
Ryan Dwyer d6cd79c342 Implement iterators per container type
6 years ago
Ryan Dwyer 16c663ed49 Rename container_sort_workspaces and container_wrap_children
6 years ago
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
7 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