aboutsummaryrefslogtreecommitdiff
path: root/swaybg/main.c
AgeCommit message (Collapse)AuthorLines
2018-07-14swaybar/bg: Fix crash on DPMS offminus-0/+3
When turning off displays via DPMS, swaybar and swaybg still tried to render, but did not get a valid buffer, causing them to crash.
2018-07-09Update for swaywm/wlroots#1126emersion-3/+3
2018-05-07swaybg: remove assertions with side-effectsemersion-5/+8
2018-04-04Initial swaylock portDrew DeVault-20/+8
2018-04-04Move swaybg background rendering into common/Drew DeVault-107/+6
swaylock will use it too
2018-04-03Merge pull request #1710 from emersion/swaybg-empty-input-regionDrew DeVault-0/+5
swaybg: set an empty input region
2018-04-03swaybg: rename w{width,height} to buffer_{width,height}emersion-15/+16
2018-04-03swaybg: add HiDPI supportemersion-6/+42
2018-04-03swaybg: set an empty input regionemersion-0/+5
2018-03-30Set exclusive zone to -1 for swaybgDrew DeVault-0/+1
2018-03-28Address review commentsDrew DeVault-31/+13
2018-03-28Refactor configure/ack configure/commit flowDrew DeVault-10/+5
2018-03-28s/scaling_mode/background_mode/gDrew DeVault-24/+24
Since it now includes SOLID_COLOR this is a more appropriate name.
2018-03-28Implement image backgroundsDrew DeVault-2/+112
2018-03-28Add solid-color rendering to swaybgDrew DeVault-0/+187
2018-03-28Add client protocols and swaybg skeletonDrew DeVault-182/+7
2017-07-03swaybg: check that background can be loadedLinus Heckemann-0/+8
2016-09-05Add client support for HiDPIDrew DeVault-15/+19
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-07-30implement solid color rendering for swaybgZandr Martin-95/+121
2016-07-17Turn swaybg into a shell surfaceDrew DeVault-0/+1
2016-07-14Revert "swaybg: Make swaybg a shell surface"David Eklov-1/+0
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.
2016-07-04swaybg: Make swaybg a shell surfaceDavid Eklov-0/+1
2016-02-26Correctly exit sway on errors.Mikkel Oscar Lyderik-2/+2
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.
2015-12-20make gdk-pixbuf dependency really optionalprogandy-0/+4
2015-12-10Copy+paste swaybg code to swaylock for testingDrew DeVault-2/+2
2015-12-10Discover swaylock extension in registryDrew DeVault-1/+0
2015-12-10Refactor gdk pixbuf code into shared client libDrew DeVault-107/+2
2015-12-08Style enforcementDrew DeVault-1/+1
2015-12-07swaybg: load more image formats with gdk-pixbuf2progandy-1/+118
travis: added gdk-pixbuf2 dependency
2015-11-29Add swaybar basicsDrew DeVault-3/+1
This should make the bar open and appear as the panel, once sway supports panels. Right now it crashes sway!
2015-11-28Use macros for exit valuesChristoph Gysin-1/+1
2015-11-28Rearrange logging headersDrew DeVault-0/+1
Ref #270
2015-11-27Style fixes in swaybgDrew DeVault-39/+39
CONTRIBUTING.md's code example is sourced from this file, so I updated it as well.
2015-11-27Fix build warningsDrew DeVault-1/+1
2015-11-27Style enforcementDrew DeVault-59/+58
2015-11-27Don't use the _t postfix on non-typedef structuresDrew DeVault-2/+2
2015-11-25swaybg: implement scaling mode "fit"Christoph Gysin-0/+23
2015-11-25swaybg: implement scaling mode "tile"Christoph Gysin-0/+10
2015-11-25swaybg: implement scaling mode "center"Christoph Gysin-0/+8
2015-11-25swaybg: implement scaling mode "fill"Christoph Gysin-0/+23
2015-11-25swaybg: implement scaling mode "stretch"Christoph Gysin-3/+24
2015-11-25swaybg: check for exact number of argumentsChristoph Gysin-1/+1
2015-11-25swaybg: make argv constChristoph Gysin-2/+2
2015-11-19Add wallpapers to output commandDrew DeVault-13/+14
2015-11-19Stretch image to fit output resolutionDrew DeVault-10/+12
2015-11-19Basic image rendering for swaybgDrew DeVault-3/+6
2015-11-19Refactor the crap out of wayland clientsDrew DeVault-19/+45
And create a background surface on every output when invoking swaybg.
2015-11-18Basic support for extensions in server and clientsDrew DeVault-1/+6
2015-11-18Fix SIGBUS from wayland clientsDrew DeVault-2/+2
2015-11-18Clean up memory pool files betterDrew DeVault-1/+4