636 Commits (a3c531485631698109073d338da956ccaaf0a7e0)

Author SHA1 Message Date
Dominique Martinet ce17788533 exec_always: fix leaks
7 years ago
Drew DeVault acd79e1505 Implement pid->workspace tracking
7 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
8 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