summaryrefslogtreecommitdiffstats
path: root/swaybg/main.c
Commit message (Collapse)AuthorAge
* 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.
* swaybg: use wl_surface_damage_bufferLibravatar emersion2019-01-17
|
* swaybg: use output names instead of output indexesLibravatar emersion2019-01-17
|
* Sway clients: Exit gracefully when compositor is unavailableLibravatar Ryan Dwyer2018-10-15
|
* swaybg: fix increasingly smaller bg on hotplugLibravatar Brian Ashworth2018-09-23
| | | | | | | | | | | | | | | | render_background_image alters the scale that cairo uses. Depending on the image mode, resolution, and image size, this may cause the surface to be rendered increasingly smaller. By calling cairo_save and cairo_restore, any changes to the cairo settings by the function are not kept as a side effect. The surface that swaybg uses is also now cleared before rendering a frame. This is needed to avoid artifacts on resolution or scale changes with certain combinations of image modes, resolutions, and image sizes. This was also part of the increasingly smaller background visual since it made it so it was not obvious the region being rendered to was smaller and caused an increasing number of smaller images to be appear for each hotplug.
* Allow a fallback color to be specified for swaybgLibravatar Brian Ashworth2018-08-08
| | | | | | This allows for a color to be set when the wallpaper does not fill the entire output. If specified, the fallback color is also used when the image path is inaccessible.
* swaybar/bg: Fix crash on DPMS offLibravatar minus2018-07-14
| | | | | When turning off displays via DPMS, swaybar and swaybg still tried to render, but did not get a valid buffer, causing them to crash.
* Update for swaywm/wlroots#1126Libravatar emersion2018-07-09
|
* swaybg: remove assertions with side-effectsLibravatar emersion2018-05-07
|
* Initial swaylock portLibravatar Drew DeVault2018-04-04
|
* Move swaybg background rendering into common/Libravatar Drew DeVault2018-04-04
| | | | swaylock will use it too
* Merge pull request #1710 from emersion/swaybg-empty-input-regionLibravatar Drew DeVault2018-04-03
|\ | | | | swaybg: set an empty input region
| * swaybg: set an empty input regionLibravatar emersion2018-04-03
| |
* | swaybg: rename w{width,height} to buffer_{width,height}Libravatar emersion2018-04-03
| |
* | swaybg: add HiDPI supportLibravatar emersion2018-04-03
|/
* Set exclusive zone to -1 for swaybgLibravatar Drew DeVault2018-03-30
|
* Address review commentsLibravatar Drew DeVault2018-03-28
|
* Refactor configure/ack configure/commit flowLibravatar Drew DeVault2018-03-28
|
* s/scaling_mode/background_mode/gLibravatar Drew DeVault2018-03-28
| | | | Since it now includes SOLID_COLOR this is a more appropriate name.
* Implement image backgroundsLibravatar Drew DeVault2018-03-28
|
* Add solid-color rendering to swaybgLibravatar Drew DeVault2018-03-28
|
* Add client protocols and swaybg skeletonLibravatar Drew DeVault2018-03-28
|
* swaybg: check that background can be loadedLibravatar Linus Heckemann2017-07-03
|
* Add client support for HiDPILibravatar Drew DeVault2016-09-05
| | | | This adds HiDPI support to swaybar, swaybg, and swaylock.
* implement solid color rendering for swaybgLibravatar Zandr Martin2016-07-30
|
* Turn swaybg into a shell surfaceLibravatar Drew DeVault2016-07-17
|
* Revert "swaybg: Make swaybg a shell surface"Libravatar David Eklov2016-07-14
| | | | | | | This reverts commit 99bda4afe27d9e5723ab6b0ebe5eabb0caaa8eeb. It turned out that code to handle swaybg as shell surface was broken so we don't want to make swaybg a shell surface until this has been fixed.
* swaybg: Make swaybg a shell surfaceLibravatar David Eklov2016-07-04
|
* Correctly exit sway on errors.Libravatar Mikkel Oscar Lyderik2016-02-26
| | | | | | | | Calling `exit` in sway_terminate prevents sway from correctly shutting down (freeing data, cleanly terminating the ipc server, etc.). A better way is to exit straight away if the failure occurs before `wlc_run` and use sway_abort as usual if it occur when wlc is running.
* make gdk-pixbuf dependency really optionalLibravatar progandy2015-12-20
|
* Copy+paste swaybg code to swaylock for testingLibravatar Drew DeVault2015-12-10
|
* Discover swaylock extension in registryLibravatar Drew DeVault2015-12-10
|
* Refactor gdk pixbuf code into shared client libLibravatar Drew DeVault2015-12-10
|
* Style enforcementLibravatar Drew DeVault2015-12-08
|
* swaybg: load more image formats with gdk-pixbuf2Libravatar progandy2015-12-07
| | | | travis: added gdk-pixbuf2 dependency
* Add swaybar basicsLibravatar Drew DeVault2015-11-29
| | | | | This should make the bar open and appear as the panel, once sway supports panels. Right now it crashes sway!
* Use macros for exit valuesLibravatar Christoph Gysin2015-11-28
|
* Rearrange logging headersLibravatar Drew DeVault2015-11-28
| | | | Ref #270
* Style fixes in swaybgLibravatar Drew DeVault2015-11-27
| | | | | CONTRIBUTING.md's code example is sourced from this file, so I updated it as well.
* Fix build warningsLibravatar Drew DeVault2015-11-27
|
* Style enforcementLibravatar Drew DeVault2015-11-27
|
* Don't use the _t postfix on non-typedef structuresLibravatar Drew DeVault2015-11-27
|
* swaybg: implement scaling mode "fit"Libravatar Christoph Gysin2015-11-25
|
* swaybg: implement scaling mode "tile"Libravatar Christoph Gysin2015-11-25
|
* swaybg: implement scaling mode "center"Libravatar Christoph Gysin2015-11-25
|
* swaybg: implement scaling mode "fill"Libravatar Christoph Gysin2015-11-25
|
* swaybg: implement scaling mode "stretch"Libravatar Christoph Gysin2015-11-25
|
* swaybg: check for exact number of argumentsLibravatar Christoph Gysin2015-11-25
|
* swaybg: make argv constLibravatar Christoph Gysin2015-11-25
|
* Add wallpapers to output commandLibravatar Drew DeVault2015-11-19
|