summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* swaybg: use output names instead of output indexesemersion2019-01-171-33/+108
|
* Sway clients: Exit gracefully when compositor is unavailableRyan Dwyer2018-10-151-1/+6
|
* Add support for installing binaries with DT_RPATHArkadiusz Hiler2018-09-301-0/+1
| | | | | | | | | | | | | | It's better to use DT_RPATH dynamic section of the elf binary to store the paths of libraries to load instead of overwriting LD_LIBRARY_PATH for the whole environment, causing surprises. This solution is much more transparent and perfectly suitable for running contained installations of wayland/wlroots/sway. The code unsetting the LD_LIBRARY_PATH/LD_PRELOAD was also deleted as it's a placebo security at best - we should trust the execution path that leads us to running sway, and it's way too late to care about those variables since we already started executing our compositor, thus we would be compromised anyway.
* swaybg: fix increasingly smaller bg on hotplugBrian Ashworth2018-09-231-0/+4
| | | | | | | | | | | | | | | | 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 swaybgBrian Ashworth2018-08-081-1/+12
| | | | | | 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 offminus2018-07-141-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.
* Update for swaywm/wlroots#1126emersion2018-07-091-3/+3
|
* swaybg: remove assertions with side-effectsemersion2018-05-071-5/+8
|
* Revert "Install swaybar and swaybg under /usr/lib/sway"Rostislav Pehlivanov2018-05-061-2/+1
| | | | This reverts commit f2c209c299889ad965ac995049704b1c46176c6d.
* Revert "Make the LIBDIR path configurable"Rostislav Pehlivanov2018-05-061-1/+1
| | | | This reverts commit 1670b46bf6e56d37e69ab0fa32c6799e83397020.
* Revert "Meson: Replace option `instlibdir` with `libexecdir`"Rostislav Pehlivanov2018-05-061-1/+1
| | | | This reverts commit 830c4ef74c00dbe448da46cdbc576178abc5728e.
* Meson: Replace option `instlibdir` with `libexecdir`Nicolas Braud-Santoni2018-05-051-1/+1
| | | | | Derive a value from it, called `rundir` rather than writing join_paths(libexecdir, 'sway') all over the place.
* Make the LIBDIR path configurableNicolas Braud-Santoni2018-05-051-1/+1
|
* Install swaybar and swaybg under /usr/lib/swayNicolas Braud-Santoni2018-05-051-1/+2
|
* Initial swaylock portDrew DeVault2018-04-041-20/+8
|
* Move swaybg background rendering into common/Drew DeVault2018-04-041-107/+6
| | | | swaylock will use it too
* Merge pull request #1710 from emersion/swaybg-empty-input-regionDrew DeVault2018-04-031-0/+5
|\ | | | | swaybg: set an empty input region
| * swaybg: set an empty input regionemersion2018-04-031-0/+5
| |
* | swaybg: rename w{width,height} to buffer_{width,height}emersion2018-04-031-15/+16
| |
* | swaybg: add HiDPI supportemersion2018-04-031-6/+42
|/
* Set exclusive zone to -1 for swaybgDrew DeVault2018-03-301-0/+1
|
* Add initial layer shell skeletonDrew DeVault2018-03-281-1/+1
|
* Address review commentsDrew DeVault2018-03-282-51/+29
|
* Refactor configure/ack configure/commit flowDrew DeVault2018-03-281-10/+5
|
* s/scaling_mode/background_mode/gDrew DeVault2018-03-281-24/+24
| | | | Since it now includes SOLID_COLOR this is a more appropriate name.
* Implement image backgroundsDrew DeVault2018-03-281-2/+112
|
* Add solid-color rendering to swaybgDrew DeVault2018-03-282-2/+203
|
* Add client protocols and swaybg skeletonDrew DeVault2018-03-282-182/+15
|
* remove the rest of cmakeTony Crisci2017-12-011-37/+0
|
* swaybg: check that background can be loadedLinus Heckemann2017-07-031-0/+8
|
* Add client support for HiDPIDrew DeVault2016-09-051-15/+19
| | | | This adds HiDPI support to swaybar, swaybg, and swaylock.
* implement solid color rendering for swaybgZandr Martin2016-07-301-95/+121
|
* Turn swaybg into a shell surfaceDrew DeVault2016-07-171-0/+1
|
* Revert "swaybg: Make swaybg a shell surface"David Eklov2016-07-141-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.
* swaybg: Make swaybg a shell surfaceDavid Eklov2016-07-041-0/+1
|
* Fix missing include pathsTomáš Čech2016-04-281-1/+2
| | | | | | When headers were installed in more sofisticated places (but package config knows it right), it revealed missing paths in CMake configuration. Lets fix it.
* Correctly exit sway on errors.Mikkel Oscar Lyderik2016-02-261-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.
* Fix whitespace issues.Mikkel Oscar Lyderik2016-01-051-6/+6
|
* make gdk-pixbuf dependency really optionalprogandy2015-12-202-2/+13
|
* Copy+paste swaybg code to swaylock for testingDrew DeVault2015-12-101-2/+2
|
* Discover swaylock extension in registryDrew DeVault2015-12-101-1/+0
|
* Refactor gdk pixbuf code into shared client libDrew DeVault2015-12-102-109/+4
|
* Style enforcementDrew DeVault2015-12-081-1/+1
|
* swaybg: load more image formats with gdk-pixbuf2progandy2015-12-072-1/+120
| | | | travis: added gdk-pixbuf2 dependency
* cmake: build common code only onceChristoph Gysin2015-12-021-24/+4
| | | | This creates (static) libraries for protocols/, common/, and wayland/.
* cmake: remove subprojectsChristoph Gysin2015-12-011-7/+5
|
* cmake: remove unnecessary quotesChristoph Gysin2015-12-011-2/+2
|
* cmake: use out-of-source buildChristoph Gysin2015-12-011-1/+0
|
* cmake: use tabs instead of spacesChristoph Gysin2015-12-011-22/+22
|
* cmake: style consistencyChristoph Gysin2015-12-011-6/+20
|