aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/output.c
Commit message (Collapse)AuthorAge
* Add an adaptive_sync output commandLibravatar Simon Ser2020-03-07
| | | | | | | | | This enables/disables adaptive synchronization on the output. For now, the default is disabled because it might cause flickering on some hardware if clients don't submit frames at regular enough intervals. In the future an "auto" option will only enable adaptive sync if a fullscreen client opts-in via a Wayland protocol.
* config: fix validation exit code and log levelLibravatar Brian Ashworth2020-02-11
| | | | | | | | | This makes it so invalid configs will return the exit code 1 when the validation flag is given. This also reduces the log level to SWAY_ERROR, which makes it so only the errors are shown. If someone wants more verbose output, the can use the -V/--verbose or -d/--debug flags. Additionally, this also makes it so swaybg will not be spawned when validating the config.
* add scale_filter output config optionLibravatar Ronan Pigott2019-11-29
|
* output: add max_render_timeLibravatar Ivan Molodetskikh2019-11-17
|
* cmd_output: support current output aliasLibravatar Brian Ashworth2019-07-17
| | | | | | | | Similar to seat command, this provides an alias for the current output. Instead of the output name or identifier, `-` can be used to operate on the focused output by name and `--` can be used to operate on the focused output by its identifier. This will prevent operating on the no-op output when using either alias.
* Implement output toggleLibravatar Moelf2019-05-14
| | | | discussed in #4136, this can't handle wildcard but won't crash.
* swaybg: one instance for all outputsLibravatar Brian Ashworth2019-04-04
| | | | | | | | | This makes it so there will only be one swaybg instance running instead of one per output. swaybg's cli has been changed to a xrandr like interface, where you select an output and then change properties for that output and then select another output and repeat. This also makes it so swaybg is only killed and respawned when a background changes or when reloading.
* Add support for manually setting subpixel hinting on outputs.Libravatar Geoff Greer2019-03-24
| | | | | | Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this. Addresses https://github.com/swaywm/sway/issues/3163
* Remove assumption that noop output will be called NOOP-1Libravatar Ryan Dwyer2019-01-22
|
* Don't allow noop output to be configuredLibravatar Ryan Dwyer2019-01-22
|
* Replace wlr_log with sway_logLibravatar M Stoeckl2019-01-21
| | | | | | | | | | | | | This commit mostly duplicates the wlr_log functions, although with a sway_* prefix. (This is very similar to PR #2009.) However, the logging function no longer needs to be replaceable, so sway_log_init's second argument is used to set the exit callback for sway_abort. wlr_log_init is still invoked in sway/main.c This commit makes it easier to remove the wlroots dependency for the helper programs swaymsg, swaybg, swaybar, and swaynag.
* Remove now-unused "input" argument of cmd_results_newLibravatar M Stoeckl2019-01-14
| | | | | | | | | Patch tested by compiling with `__attribute__ ((format (printf, 2, 3)))` applied to `cmd_results_new`. String usage constants have been converted from pointers to arrays when encountered. General handler format strings were sometimes modified to include the old input string, especially for unknown command errors.
* Remove layout.cLibravatar Ryan Dwyer2018-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | When we have type safety we'll need to have functions for workspace_add_tiling and so on. This means the existing container functions will be just for containers, so they are being moved to container.c. At this point layout.c doesn't contain much else, so I've relocated everything and removed the file. * container_swap and its static functions have been moved to the swap command and made static. * container_recursive_resize has been moved to the resize command and made static. * The following have been moved to container.c: * container_handle_fullscreen_reparent * container_insert_child * container_add_sibling * container_add_child * container_remove_child * container_replace_child * container_split * enum movement_direction and sway_dir_to_wlr have been moved to util.c. Side note: Several commands included layout.h which then included root.h. With layout.h gone, root.h has to be included by those commands.
* Reset outputs on reloadLibravatar Brian Ashworth2018-07-20
|
* Fix output wildcard handlingLibravatar Brian Ashworth2018-07-20
|
* Update for swaywm/wlroots#1126Libravatar emersion2018-07-09
|
* Switch output storing from list_t to wl_listLibravatar Brian Ashworth2018-06-06
|
* Store sway_outputs so that they can be reenabledLibravatar Brian Ashworth2018-06-06
|
* Address review comments for output subcommandsLibravatar Brian Ashworth2018-06-03
|
* Refactor cmd_output to use config_subcommandLibravatar Brian Ashworth2018-06-03
|
* Idle handling for dpms/lockscreen et alLibravatar Mattias Eriksson2018-05-13
| | | | | | | | | Swayidle handles idle events and allows for dpms and lockscreen handling. It also handles systemd sleep events, and can raise a lockscreen on sleep Fixes #541
* Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"Libravatar Tony Crisci2018-03-29
| | | | | This reverts commit 472e81f35d689d67cda241acafda91c688d61046, reversing changes made to 6b7841b11ff4cd35f54d69dc92029855893e5ce0.
* Revert "Refactor tree"Libravatar Drew DeVault2018-03-29
|
* rename container functionsLibravatar Tony Crisci2018-03-29
|
* Render layer surfaces and respect exclusive zoneLibravatar Drew DeVault2018-03-28
|
* sway: change all sway_log to wlr_logLibravatar Dominique Martinet2018-01-05
|
* Allow to configure outputs by their identifierLibravatar emersion2017-12-29
|
* Refactor output command, add output enableLibravatar emersion2017-12-27
|
* Add support for fractional output scaleLibravatar emersion2017-12-18
|
* Use strtol instead of atoi in output commandLibravatar emersion2017-12-14
|
* Fail if unknown output subcommandLibravatar emersion2017-12-14
|
* Replace refresh_rate and position by mode in output commandLibravatar emersion2017-12-14
|
* Update output container box in event handlerLibravatar emersion2017-12-12
|
* Remove output from layoutLibravatar emersion2017-12-09
|
* Add new_output_config, update root container size on output hotplugLibravatar emersion2017-12-06
|
* Init, merge output config params, use wlr_output_layoutLibravatar emersion2017-12-06
|
* Add output configLibravatar emersion2017-12-06
|
* Move everything to sway/old/Libravatar Drew DeVault2017-11-18
|
* Clean up output commandLibravatar Calvin Lee2017-10-05
| | | | | | | Plugs memory leaks during failure of the output command and in other circumstances and fixes `bg` option. Fixes #1381
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* Handle calloc failuresLibravatar Drew DeVault2016-12-15
|
* Handle allocation failure in commandsLibravatar Drew DeVault2016-12-15
|
* merge in latest commitsLibravatar Zandr Martin2016-09-02
|
* refactor commands.cLibravatar Zandr Martin2016-09-01