114 Commits (69b430201cb19c666f102586b18f1dfbda7c44a3)

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
Connor E 49b667272b Revert "Add some missing frees."
6 years ago
Ryan Dwyer 7f8ea60e71 Don't allow noop output to be configured
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 477bca5e28 Terminate swaybg in output_disable
6 years ago
Brian Ashworth 1897edabba Rework default output configs
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
Connor E b5d95f264d Add some missing frees.
6 years ago
emersion c988b03d85 Allow swaybg to be disabled
6 years ago
Brian Ashworth af45ee2d8b Handle shell special characters in bg file path
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
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
emersion 63b4bf5000
Update for swaywm/wlroots#1126
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
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 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 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
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
emersion 21c61f1c09
Refactor output command, add output enable
7 years ago
emersion c815d6d1a9
Add support for fractional output scale
7 years ago
emersion 4d389f8b65
Replace refresh_rate and position by mode in output command
7 years ago
emersion a4619e98c4
Update output containers on output layout change
7 years ago
emersion d293c42942
Update output container box in event handler
7 years ago
emersion c7abb77f22
Listen to output layout change
7 years ago
emersion f3d880b0ec
Add scale and transform events to sway_output
7 years ago
emersion 475a0132a9
Use custom modes when output has no mode
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 7c5d8c553c
Simplify free calls, use wlr_output_set_scale
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