132 Commits (829c75b9c95e6cf7c7a1e02528966ef842ea3d4c)

Author SHA1 Message Date
Simon Ser 38b37247ff Add --custom to `output mode` command
5 years ago
Sheena Artrip 7efb5d4673 Rename symbol set_cloexec to sway_set_cloexec, remove duplicates.
5 years ago
Simon Ser ec14a00e8c Fix segfault in wlr_output_manager_v1_set_configuration
5 years ago
Simon Ser 58a40ce07b Fix apply_output_config return value when enabling output
5 years ago
Danilo Spinella a5b6f40937 Fix refresh rate scale of output
5 years ago
Rouven Czerwinski 724926ea6a Revert "Add support for wlr_output's atomic API"
5 years ago
Brian Ashworth 19d05d3ae0 config/output: rebase cursors after config applied
5 years ago
Antonin Décimo 7e5c2d7afa Allocator sizeof operand mismatch
5 years ago
Simon Ser 6e0565e9de Add support for wlr_output's atomic API
5 years ago
Brian Ashworth 6096d31eed config/output: correctly set width/height in apply
6 years ago
Brian Ashworth 8c8e6a6c90 config/output: fix typo in merge_id_on_name
6 years ago
Brian Ashworth 51c077798c Destroy swaybg client on reload
6 years ago
Brian Ashworth 6961bf2e4c Spawn swaynag as a wayland client
6 years ago
Jan Beich e0324fc88c config/output: unbreak on 32-bit architectures
6 years ago
Brian Ashworth 75e7bd24cc swaybg: one instance for all outputs
6 years ago
Geoff Greer 6e3046878d Add support for manually setting subpixel hinting on outputs.
6 years ago
Brian Ashworth 0327c999d7 config/output: handle wildcard in get_output_config
6 years ago
Brian Ashworth 73605dac2a config/output: revamp identifier/name layering
6 years ago
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
7 years ago
Brian Ashworth 9605ab45f1 Fix output wildcard handling
7 years ago
Ian Fan 9559e3e2af config output: free command string if unused
7 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
7 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