909 Commits (7e0c0dda42183cf3f6a64bace230252cbeadbbd6)

Author SHA1 Message Date
emersion 351e722b6e
Merge pull request #2729 from RyanDwyer/resize-return-false
6 years ago
Ryan Dwyer 42f1fdf015 Return an error when resizing is a no op
6 years ago
Brian Ashworth af45ee2d8b Handle shell special characters in bg file path
6 years ago
Ryan Dwyer bb708d0f82 Don't allow negative gaps
6 years ago
Ryan Dwyer 415a48ac63 Make gaps implementation consistent with i3-gaps
6 years ago
Ian Fan 98576b9dda swaybar: fix setting binding mode indicator
6 years ago
Ryan Dwyer 138d10d5d6 Rename workspace_outputs to workspace_configs and fix memory leak
6 years ago
Ryan Dwyer 21ff87d72b Improve CSD logic
6 years ago
Ryan Dwyer efcfe57b10 Remove CSD from toggle list if client doesn't support it
6 years ago
Ryan Dwyer 7b138e5ef0 Add CSD to border modes
6 years ago
Brian Ashworth baeb28ea62 Implement support for input wildcard
6 years ago
Ryan Dwyer 9753e52d6b Flatten container in workspace_rejigger
6 years ago
Ryan Dwyer 0b7fb6943e Fix some bugs as a result of removing move_out_of_tabs_stacks
6 years ago
Ryan Dwyer 93624599b3 Remove move_out_of_tabs_stacks
6 years ago
Ryan Dwyer cb66bbea42 Allow running commands on containers without focusing them
6 years ago
Marien Zwart 37e51a20cc Fix compilation against wlroots without X11 backend
6 years ago
Ryan Dwyer db28459634 Introduce create_output command (for developer use)
6 years ago
William Wold f48999dd24 Fix crash moving out of tab container
6 years ago
Ryan Dwyer f6e218a643 Rename seat_get_active_child to seat_get_active_tiling_child
6 years ago
Brian Ashworth 17fe8924f2 Address ianyfan's comments
6 years ago
Brian Ashworth 1cf737489d Escape spaces in background file path
6 years ago
Brian Ashworth 0b64cce733 Allow spaces in background file paths
6 years ago
Ryan Dwyer 2f6935e00f Remove bad assertion in workspace_rejigger
6 years ago
emersion af9e8f94cc
Merge pull request #2620 from ianyfan/commands
6 years ago
Brian Ashworth 0b7fe54f9e Update textures for cmd_client_* commands
6 years ago
Ian Fan ae535396b0 commands: when moving container, remove its gaps
6 years ago
Ian Fan c770949a9f commands: when moving container, restore focus properly
6 years ago
Ryan Dwyer 8bb40c24c7 Implement tiling drag
6 years ago
Ryan Dwyer ec9c4de564 Introduce tiling_drag directive
6 years ago
William Wold e787a1581c Give windows pointer focus immediately when they are switched to
6 years ago
Ian Fan 6cd92b193c commands: prevent running empty seat command
6 years ago
Ryan Dwyer 908095ef9a Introduce seat_set_focus_container and seat_set_focus_workspace
6 years ago
emersion bea9f9c63f
Merge pull request #2578 from RyanDwyer/fix-binding-reload
6 years ago
Ryan Dwyer 1f941163d3 Fix crash when running "layout toggle"
6 years ago
Drew DeVault c6a74cb4df
Merge pull request #2586 from RyanDwyer/fix-fullscreen-focus-crash
6 years ago
Ryan Dwyer 8859da1dc3 Fix crash when focusing from fullscreen in an invalid direction
6 years ago
Ryan Dwyer 01117db6d9 Fix crash when moving view across outputs
6 years ago
Ryan Dwyer 32c7386b0f Fix management of bindings during reload
6 years ago
Ryan Dwyer dbf4aa3e33 Allow marked containers to be moved out of the scratchpad via move command
6 years ago
Ryan Dwyer 27d2d37d6e Fix crash when running layout toggle split
6 years ago
Ryan Dwyer 7263e39f64 Fix crash when using focus parent/child from an empty workspace
6 years ago
Ryan Dwyer 7f40b928c7 Fix another focus bug when moving into output
6 years ago
Ryan Dwyer 9d168a693d Fix moving workspace to output
6 years ago
Ryan Dwyer 06d9693829 Remove offset argument to container_add_sibling
6 years ago
Ryan Dwyer 0df04e27b6 Fix crash when focus hits edge of root
6 years ago
Ryan Dwyer 7586f150c0 Implement type safe arguments and demote sway_container
6 years ago
Ryan Dwyer 7797490e9e Deny repeating reload by holding key
6 years ago
sghctoma 073dcb3a86 Change _XOPEN_SOURCE defines to _POSIX_C_SOURCE
6 years ago
sghctoma df730a8891 Merge remote-tracking branch 'upstream/master' into fix-freebsd-build
6 years ago
Ryan Dwyer f057a0195e Implement focus_on_window_activation
6 years ago
Drew DeVault 89a045835f
Merge pull request #2547 from RyanDwyer/fix-reload-crash
6 years ago
Ryan Dwyer 016d0455f8 Implement deprecated new_window and new_float commands
6 years ago
Ryan Dwyer 7e81e58e7d Allow reload command to exist anywhere in the command string
6 years ago
Ryan Dwyer ebe65a4d48 Fix crash on reload
6 years ago
sghctoma cc16948c85 Fix feature macros for FreeBSD
6 years ago
Ian Fan 79899064b6 commands: fix exec quoting
6 years ago
Ian Fan bc30f2d528 commands: fix moving container to different output
6 years ago
Ryan Dwyer 126a82f14f Fix gaps issues
6 years ago
Scott Anderson 31c3c8a365 Initialise variable properly
6 years ago
Ryan Dwyer 5dbbab7bdc Remove layout.c
6 years ago
Armin Preiml 1a72149d88 Workspace move cycle
6 years ago
Drew DeVault b945957b9b
Merge pull request #2510 from RyanDwyer/relocate-layout-functions
6 years ago
Ryan Dwyer 4b9ad9c238
Merge branch 'master' into commands
6 years ago
Ryan Dwyer f4bc25bcc6 Relocate container_move, container_move_to and container_get_in_direction
6 years ago
Ryan Dwyer b6058703fa Refactor destroy functions and save workspaces when there's no outputs
6 years ago
Ryan Dwyer f129b1b89f Replace enum resize_edge with wlr_edges
6 years ago
Ian Fan f51b9478f2 commands: implement move absolute
6 years ago
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
7 years ago
Ryan Dwyer a2fbb20a61 Merge remote-tracking branch 'upstream/master' into atomic
7 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
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
db 042b80b9fa Add workspace_auto_back_and_forth command
7 years ago
Tony Crisci 9db859585e container_create_notify on split
7 years ago
Drew DeVault c47b4d4edb
Merge pull request #1756 from emersion/output-damage
7 years ago
emersion 516f5454ad
Simplify damage tracking functions, use them in layer shell
7 years ago
Drew DeVault 57954a2b24 Implement move [left|right|up|down]
7 years ago
Drew DeVault f77986338f Implement resize command
7 years ago
Tony Crisci fc9398a42e Implement opacity command
7 years ago
Tony Crisci a001890fb8 move workspace create to workspace.c
7 years ago
Tony Crisci 481a8275c1 address feedback
7 years ago
Tony Crisci 9b567fc37e clean up container_get_default_layout
7 years ago
Tony Crisci 5f4761c4f4 unify workspace create functions
7 years ago
Tony Crisci 2c165e1288 fix more close segfaults
7 years ago
Tony Crisci 32ef182f47 cleanup split command handlers
7 years ago
Tony Crisci d434da5632 Merge branch 'wlroots' into split-containers
7 years ago
Tony Crisci d070244362 fix workspace splits
7 years ago
Tony Crisci 357a4401fa address feedback
7 years ago
Tony Crisci 2187684bd0 Merge branch 'wlroots' into split-containers
7 years ago
Tony Crisci 5e024278a6 Merge branch 'wlroots' into seat-fixes
7 years ago
Drew DeVault e3689dd5a9 Fixes regarding @emersion's feedback
7 years ago
Tony Crisci a82c107c76 80col
7 years ago
Drew DeVault b2d871cfe2 Partially implement move command
7 years ago
Tony Crisci e677c5b204 rename seat functions
7 years ago
Tony Crisci b5d49cc4e8 remove default from kill switch
7 years ago
Tony Crisci e7ecb001d7 reap container parent on destroy
7 years ago
Tony Crisci 7706d83160 basic split containers
7 years ago
Drew DeVault 9b38ef950f Implement focus_follows_mouse
7 years ago
Drew DeVault ae6d459000 Implement mouse warping
7 years ago
Drew DeVault 69eb021767 Add default_orientation command
7 years ago
Drew DeVault f26ecd9f58 Merge remote-tracking branch 'origin/wlroots' into swaybar-layers
7 years ago
Tony Crisci dc8c9fbeb6 Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"
7 years ago
Drew DeVault d0c7f66e95
Revert "Refactor tree"
7 years ago
Tony Crisci 2778edef97 arrange windows
7 years ago
Drew DeVault 8efee109ad Implement modes
7 years ago
Drew DeVault 741424c4e7 Clean up imported bar commands
7 years ago
Drew DeVault 849c3515ab Use statically allocated text buffer
7 years ago
Drew DeVault 8b5b72c576 Restart swaybar on config reload
7 years ago
Drew DeVault 5c9cdbcdd2 Add swaybg_command
7 years ago
Drew DeVault bf7a4cd0eb Add bar configuration commands
7 years ago
Tony Crisci 62d1b4cb96 fix container_get_in_direction name
7 years ago
Tony Crisci eca029f218 more renaming things
7 years ago
Tony Crisci b90099b4b7 rename container functions
7 years ago
Tony Crisci 874f009866 move tree includes to their own directory
7 years ago
Drew DeVault 68cfa7ef67 Render layer surfaces and respect exclusive zone
7 years ago
Tony Crisci 2154b7c7d6 add config handlers
7 years ago
Tony Crisci 7262bf655f remove checks for command handlers
7 years ago
Tony Crisci 66d1e0b313 basic layout command
7 years ago
Tony Crisci a3ae67af4e basic focus in direction
7 years ago
Tony Crisci 52670c636c basic focus (without direction)
7 years ago
Tony Crisci a7d49da239 separate seat get focus and seat get focus inactive
7 years ago
Tony Crisci 5151502298 basic focus overhaul
7 years ago
Drew DeVault b28602aa74 Implement workspaces
7 years ago
Dominique Martinet 6259831d31 commands/reload: remove unimplemented 'load_swaybars' call
7 years ago
Dominique Martinet 869be4378d commands: add 'reload' command
7 years ago
Tony Crisci beb3805cf0 dont allow kill command in config
7 years ago
Tony Crisci c3fc0d446f cmd-kill: use sway_assert when no container
7 years ago
Tony Crisci 0e3eae4baa view interface
7 years ago
Tony Crisci 1156523ccf run all commands with focused container context
7 years ago
Tony Crisci 6a1d71b8b8 basic command criteria
7 years ago
Tony Crisci c353e01c85 add kill command
7 years ago
Tony Crisci cc3c713889 seat config handler context
7 years ago
Tony Crisci 9e0595f26b input config handler context
7 years ago
Dominique Martinet 67985e9031 sway: change all sway_log to wlr_log
7 years ago
Dominique Martinet c83900593d config: add 'set' command
7 years ago
Dominique Martinet 28b8ea9f1e cmd_input: cleanup around current_input_config
7 years ago
Drew DeVault 91313d3847
Merge pull request #1539 from acrisci/bindings
7 years ago
Tony Crisci b01a53abfb Merge branch 'wlroots' into bindings
7 years ago
Tony Crisci 50e791cadb binding release
7 years ago
emersion ead3f1e676
Allow to configure outputs by their identifier
7 years ago
Tony Crisci bd3ca70e3d fix nitpicks
7 years ago
Tony Crisci 62b7ab3959 overwrite old bindings
7 years ago
emersion 21c61f1c09
Refactor output command, add output enable
7 years ago
Tony Crisci ba69f06695 binding config
7 years ago
Tony Crisci 5c036a3eac error on not enough input/seat args for cmd
7 years ago
Tony Crisci a949d7de5a Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci 483ede0146 improve xkb command logging
7 years ago
emersion c815d6d1a9
Add support for fractional output scale
7 years ago
Tony Crisci 88bcd43ebf seat fallback config
7 years ago
Tony Crisci c41801b75e set keyboard config at runtime
7 years ago
Tony Crisci b8261ab24b expect exactly one xkb arg
7 years ago
Tony Crisci f16aa3c0ad rename config apply cmds
7 years ago
Tony Crisci 9fa70ce426 Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci 9eecbb5d8a xkb config
7 years ago
Tony Crisci 92fef27eaa basic configuration
7 years ago
emersion cba592b3d2
Use strtol instead of atoi in output command
7 years ago
emersion 9254c5a93f
Fail if unknown output subcommand
7 years ago
emersion 4d389f8b65
Replace refresh_rate and position by mode in output command
7 years ago
emersion d293c42942
Update output container box in event handler
7 years ago
Tony Crisci c173d30b92 seat configuration
7 years ago
Tony Crisci 538903bc5a config cleanup
7 years ago
Tony Crisci 462a451328 input config
7 years ago
emersion 4a14aa9ad9
Remove output from layout
7 years ago
emersion 8764dc26c6
Add new_output_config, update root container size on output hotplug
7 years ago
emersion c25ad5e7c4
Merge branch 'wlroots' into output-config
7 years ago
emersion 68ae989cee
Init, merge output config params, use wlr_output_layout
7 years ago
emersion aaae59026f
Add output config
7 years ago
emersion 9aeda82477
Add include command
7 years ago
emersion 90f7f1a0e6
Add minimal config subsystem
7 years ago
emersion 514c819ff9
Add exec and exec_always commands
7 years ago
Drew DeVault d7d21bb0f8 Add initial command subsystem (untested)
7 years ago
Drew DeVault 733993a651 Move everything to sway/old/
7 years ago
Drew DeVault 1efd5f819f Wire up output frame loop
7 years ago
Drew DeVault 6271abd644 Fix #1291
7 years ago
Drew DeVault 6d83a59b46 Merge pull request #1263 from nyorain/master
7 years ago
lbonn 6197fff0b4 Fix move to named workspaces
7 years ago
Calvin Lee 419a1087ac Clean up output command
7 years ago
Jonas Karlsson 05aeccfca0 Fix issue #1287
7 years ago
Scott Anderson c29e5bbde8 Use WLC v2 pointer interface
7 years ago
Tobias Blass 566863ba5d fix use-after-free bug
7 years ago
nyorain 02c75ebe37 Implement ipc get_clipboard
7 years ago
Mykyta Holubakha 4f905ecb96
permit.c: check for NULL pointer dereference
8 years ago
nyorain 60fa626116 Add the 'clipboard' command to set the clipboard
8 years ago
Calvin Lee 843ad38b3c Implement Tray Icons
8 years ago
johalun 7fef283044 FreeBSD fixes
8 years ago
Josip Janzic 400998d6d2 Add mouse button bindings
8 years ago
Zandr Martin f65a88e68d
prevent crash when `layout auto` is missing args
8 years ago
Drew DeVault 816ceddcbd Set child border to background if not specified
8 years ago
Drew DeVault 02812a2e4d Support specifying fewer than 5 colors
8 years ago
Drew DeVault 51143a75af Implement no_focus
8 years ago
Vasilij Schneidermann 0f31323659 Use i3's dimensions for initial scratchpad views
8 years ago
Vasilij Schneidermann d4ac594264 Implement and document `move [to] scratchpad`
8 years ago
Jerzi Kaminsky 2ad8850398 Handle symlinks as IPC security targets
8 years ago
Jerzi Kaminsky bfb99235e3 Move get_feature_policy to sway/security.c
8 years ago
Jerzi Kaminsky b4357a8eb6 Rename get_policy to get_feature_policy
8 years ago
Calvin Lee 154c6718c1 Add `-t get_marks` and use more i3-like marks
8 years ago
Calvin Lee 069d37f987 Improve criteria handling
8 years ago
Calvin Lee 2445d27960 Impliment i3-style marks
8 years ago
Zandr Martin baa17ec696
remove unnecessary todo item
8 years ago
Jarkko Oranen f6196b7e9a Fix off-by-one error when checking workspace_layout arguments
8 years ago
Zandr Martin b507462d1c
Merge branch 'master' of git://github.com/SirCmpwn/sway into new-command-aliases
8 years ago
Drew DeVault 9aed9d9359 UnGNUify the codebase
8 years ago
Zandr Martin 18450dd16a
deprecate new_window and new_float commands
8 years ago
Zandr Martin 8684b9ecca
fix workspace output assignment
8 years ago
Calvin Lee d47d3d78de Fix #1099: Allow spaces in worspace names
8 years ago
Calvin Lee b35782bcad i3 feature support: Moving flotaing containers
8 years ago
Drew DeVault 126ce571da Read configs from /etc/sway/security.d/*
8 years ago
Drew DeVault eabfb6c559 Add * policies and fix bug
8 years ago
Drew DeVault 1980a08358 Enforce new IPC policies
8 years ago
Drew DeVault b10721b89e Add initial support code for new IPC security
8 years ago
wil 71b386964a replaced "bot" with "bottom" in auto layout commands
8 years ago
willakat 4c06a10004 Merge branch 'master' into master
8 years ago
Frantisek Fladung c04819e8c0 Implement hide_edge_borders smart (like in i3 4.13)
8 years ago
wil 07474a4fa7 reworked "layout auto*" star commands
8 years ago
wil 063c79874a Indent cleanups
8 years ago
wil 3c84250be8 [fix] resize should now preserve surrounding container's dimensions
8 years ago
wil bd415029ba Moved auto_* layout functions from resize.c to layout.c
8 years ago
wil 97f70987d7 [fix] cleanups suggested by Sway community
8 years ago
wil a62048f15d changed "layout promote" command to "move first"
8 years ago
wil 15745abf0c [fix] cycle auto layouts backwards
8 years ago
wil a0aa8d9780 cleanup in auto layouts
8 years ago
wil 0ff9fe9a7a introduce next/prev as a direction for focus/move commands.
8 years ago
wil bc3dc97026 [fix] Handle auto layout resize with multiple slave groups
8 years ago
wil 8b0073b195 Added "layout incnmaster|incncol" commands
8 years ago
wil 5425d0489f Handle resize in auto layouts
8 years ago
wil 97f7d47413 Added Awesome/Monad type "auto" layouts
8 years ago
Drew DeVault 1172566d4e Change how security config is loaded
8 years ago
Drew DeVault 63d96c1bb4 Fix indentation issues
8 years ago
Drew DeVault 10c8b73075 Handle calloc failures
8 years ago
Drew DeVault 7784f1a905 Handle allocation failures in security code
8 years ago
Drew DeVault 248df18c24 Handle allocation failure in commands
8 years ago
D.B 35b8d185ac fix layout switching (was broken because of workspace_layout)
8 years ago
D.B 6fb4b6737a add workspace_layout to container
8 years ago
Drew DeVault d2d6fcd1ff Fix clang issues
8 years ago
Drew DeVault d353da248b Add ipc connection feature policy controls
8 years ago
Drew DeVault 62dad7148f Enforce IPC security policy
8 years ago
Drew DeVault c8dc4925d1 Add IPC security policy command handlers
8 years ago
Drew DeVault f23880b1fd Add support for command policies in config file
8 years ago
Drew DeVault 76cab04b4d Implement permit and reject commands
8 years ago
D.B 05be14ff7c change default layout toggle to L_HORIZ
8 years ago
D.B 58eb7ac19f change bar colors from char[10] to *char
8 years ago
D.B ad4d21d60b add bar colours for focused_(workspace|statusline|separator)
8 years ago
D.B 39ee0ec552 use urgent_ws color in swaybar if binding_mode is undefined
8 years ago
Michał Winiarski e8d8abfbb5 Add left_handed support for input devices
8 years ago
Drew DeVault 4cba91803e Revert "Fixes dealing with workspace_layout and related bugs [rfc]"
8 years ago
D.B 571321a1d8 add workspace_layout, ensure ws is always L_HORIZ
8 years ago
Nicolas Cornu 5384d3effe Can't move an empty workspace
8 years ago
D.B d3f5ac8cbb add force_focus_wrapping option
8 years ago
Ryan Dwyer 64d463142f Implement default name for workspace command
8 years ago
Zandr Martin 511eed90cd
squash commits, move enum into resize.c
8 years ago
Zandr Martin 65ace5dec5
merge in latest commits
8 years ago
Zandr Martin b374c35758
refactor commands.c
8 years ago