167 Commits (68f53cd509af8812562d743a55128a1b341247f5)

Author SHA1 Message Date
Brian Ashworth 3106ef23a7 Fix output config retrieval for new outputs
6 years ago
emersion 076257a978 Stop using wlr_output->{lx,ly}
6 years ago
Noam Preil 1c329f2fe6 Fixes crash in spawn_swaybg (closes #3733)
6 years ago
Rouven Czerwinski d016848bce config: remove double assignement to result in get_output_config
6 years ago
emersion b799a30962 Don't use SOCK_CLOEXEC
6 years ago
emersion 7baaa3a0f8 Disconnect swaybg instead of killing it
6 years ago
Brian Ashworth 272ca06171 Fix reload freeze when not modsetting current mode
6 years ago
Brian Ashworth 96de2b539c apply_output_config: dpms on before modeset
6 years ago
Brian Ashworth d2c896ed84 fix misc memory leaks
6 years ago
Connor E 2f2a887377 Revert "More frees."
6 years ago
Connor E 49b667272b Revert "Add some missing frees."
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
Ryan Dwyer 7f8ea60e71 Don't allow noop output to be configured
6 years ago
M Stoeckl d7ff776552 Move sway-specific functions in common/util.c into sway/
6 years ago
M Stoeckl 1211a81aad Replace wlr_log with sway_log
6 years ago
Brian Ashworth afac6ced6e apply_output_config: remove output_i
6 years ago
emersion a737d7ecc4
Better handle outputs without CRTC
6 years ago
emersion fe3f4882ed
Don't use sh when spawning swaybg
6 years ago
emersion 000b313985
swaybg: use output names instead of output indexes
6 years ago
Brian Ashworth 02bbefda20 bar_cmd_tray_bind: Use mouse button helpers
6 years ago
Drew DeVault fc93cd20dc
Merge pull request #3397 from RedSoxFan/fix-swaybar-height
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 124085eba9 swaybar: obey height if given
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 3e8f548d1d Revamp seat configs
6 years ago
Brian Ashworth 477bca5e28 Terminate swaybg in output_disable
6 years ago
Brian Ashworth 1897edabba Rework default output configs
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 9b41db32ec Fix identifier output configs on reload
6 years ago
emersion 3a310f92ab
Replace _XOPEN_SOURCE with _POSIX_C_SOURCE
6 years ago
emersion bf7af9c690
Merge pull request #3083 from c-edw/feature/StripWorkspaceName
6 years ago
Spencer Michaels 70bc4c3ab6 Add scroll factor config option.
6 years ago
Connor E 4bd46fb079 Implement strip_workspace_name.
6 years ago
Connor E eda1bf769f More frees.
6 years ago
Connor E b5d95f264d Add some missing frees.
6 years ago
Ian Fan 2f1fd80726 swaybar: show hidden bar on key event
6 years ago
Brian Ashworth 00745d6280 Fix bar subcommand handler structs and selection
6 years ago
Brian Ashworth d3f0e52784 bar-bindsym: address ianyfan's comments
6 years ago
Brian Ashworth 1c969e86f5 Implement bar bindsym
6 years ago
emersion c988b03d85 Allow swaybg to be disabled
6 years ago
Ryan Dwyer 41bfd8c790 swaybar: allow null status_command
6 years ago
Drew DeVault 8f6aca2166
Merge pull request #2725 from PumbaPe/add-tap-and-drag
6 years ago
Arkadiusz Hiler 1e70f7b19e Turn funcs() into funcs(void)
6 years ago
PP ae2b70f59e add tap-and-drag setting to sway-input
6 years ago
Brian Ashworth af45ee2d8b Handle shell special characters in bg file path
6 years ago
Ian Fan a6c5628fa7 input config: merge left_handed option
6 years ago
Brian Ashworth baeb28ea62 Implement support for input wildcard
6 years ago
emersion 82f1393cbb swaybar: handle hotplugging
6 years ago
Ian Fan 8e8a5ca217 config: free strings fields when freeing input config
6 years ago
Brian Ashworth c246cf84c8 Call wlr_output_enable on enable/disable if needed
6 years ago
Ryan Dwyer 7586f150c0 Implement type safe arguments and demote sway_container
6 years ago
emersion 349d1f3be8 Do not modeset disabled outputs
6 years ago
Drew DeVault 10c2c09cf6
Merge pull request #2513 from RyanDwyer/rename-root-outputs
6 years ago
Ryan Dwyer 5dbbab7bdc Remove layout.c
6 years ago
Ryan Dwyer 2e7401772e Rename sway_root.outputs to sway_root.all_outputs
6 years ago
Ryan Dwyer b6058703fa Refactor destroy functions and save workspaces when there's no outputs
6 years ago
Brian Ashworth 43d1ffc9dd Allow a fallback color to be specified for swaybg
6 years ago
Marien Zwart 7d8413d962 Reset signal mask after fork
6 years ago
ProgAndy 2166dbe2e4 Implement setting NumLock and CapsLock status
6 years ago
Brian Ashworth bc7d332109 Reset outputs on reload
6 years ago
Brian Ashworth 9605ab45f1 Fix output wildcard handling
6 years ago
Ian Fan 9559e3e2af config output: free command string if unused
6 years ago
Brian Ashworth 13c6627ddb Implement tap_button_map for input devices
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
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Dominique Martinet 9f5d539657 config: add a couple of forgotten frees
6 years ago
Dominique Martinet 248ea93c1a bar config: fix uninitialized accesses on init error
6 years ago
Dominique Martinet 9c8fb7d025 invoke_swaybar: fix message length header size
6 years ago
Brian Ashworth a1b5b93d29 Store sway_outputs so that they can be reenabled
7 years ago
Mattias Eriksson 8fbafbfab5 Idle handling for dpms/lockscreen et al
7 years ago
db 22170bde77 Fix layer surface crash on output destroy
7 years ago
Geoff Greer 5587af1782 Rename len to msg_len. Avoids an aliased variable that was a little confusing to follow.
7 years ago
Geoff Greer b9726afd48 invoke_swaybar(): Set process group. Kill process group.
7 years ago
emersion ff61df17ff
Add map_from_region command
7 years ago
Ryan Dwyer 5b30391383 Make key repeat configurable
7 years ago
Drew DeVault 0e3ddf255e Add input "identifier" map_to_output "identifier"
7 years ago
Tony Crisci 741e3959e3 Merge branch 'wlroots' into split-containers2
7 years ago
emersion f3ef1da750
Fix wrong output container coordinates
7 years ago
Tony Crisci 09d448ea2d unify container destroy functions
7 years ago
Drew DeVault 18173fb5ad Free bar configs on reload and exit
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
Drew DeVault 2e84f21ab7 Terminate swaybar when freeing bar config
7 years ago
Drew DeVault 2719ddfe5e Spawn swaybars when outputs are added
7 years ago
Drew DeVault 5c9cdbcdd2 Add swaybg_command
7 years ago
Drew DeVault 569b2bfd5d Move bar config into its own file
7 years ago
Tony Crisci eca029f218 more renaming things
7 years ago
Tony Crisci b90099b4b7 rename container functions
7 years ago
Drew DeVault 8d6bce02af Address review feedback
7 years ago
Drew DeVault 68cfa7ef67 Render layer surfaces and respect exclusive zone
7 years ago
Tony Crisci 9f54cd8935 copy config references for input and seat
7 years ago
Dominique Martinet 67985e9031 sway: change all sway_log to wlr_log
7 years ago
emersion ead3f1e676
Allow to configure outputs by their identifier
7 years ago