148 Commits (2e9139df664f1e2dbe14b5df4a9646411b924c66)

Author SHA1 Message Date
Simon Ser 5d692b0581 Add an adaptive_sync output command
5 years ago
Brian Ashworth 8b593677d2 output: fix updating output manager config
5 years ago
Yorick van Pelt 447967ad3a Fix crash: use wlr_output->name instead of possibly missing oc->name
5 years ago
Simon Ser 47763c99f9 Apply the output scale filter after the output commit
5 years ago
Simon Ser f5fa0c7124 Stop calling apply_output_config from output_enable
5 years ago
Simon Ser 555b0d4087 Fix output scale auto-detection
5 years ago
Brian Ashworth 9d827ef493 output: apply oc to outputs using wl_for_each_safe
5 years ago
Paul Riou 2b5e75032b Fix sway_log using non initialised output_config pointer
5 years ago
Simon Ser ef2332f7a6 Re-add support for wlr_output's atomic API
5 years ago
Ronan Pigott bd42415b5d config/output: apply scale_filter even when scale has not changed
5 years ago
Simon Ser 2f84d6e349 Auto-detect output scale
5 years ago
Ronan Pigott 6968fb3123 add scale_filter output config option
5 years ago
Ivan Molodetskikh 022df2542b output: add max_render_time
5 years ago
Simon Ser f576bcdb8c Use wlr_output_preferred_mode instead of the last mode
5 years ago
Simon Ser 01b5350bdc Fix segfault in set_mode
5 years ago
Ronan Pigott f33dcd4c60 Prefer higher refresh rate default modes
5 years ago
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
5 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
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