aboutsummaryrefslogtreecommitdiffstats
path: root/swaybg
Commit message (Collapse)AuthorAge
* Removed unused wlroots dependency for sway(bg|bar|msg|nag)Libravatar M Stoeckl2019-01-21
| | | | Also remove direct libm dependency where unused.
* 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.
* meson: remove rpath optionsLibravatar emersion2019-01-18
|
* 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
|
* Add support for installing binaries with DT_RPATHLibravatar Arkadiusz Hiler2018-09-30
| | | | | | | | | | | | | | 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 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
|
* Revert "Install swaybar and swaybg under /usr/lib/sway"Libravatar Rostislav Pehlivanov2018-05-06
| | | | This reverts commit f2c209c299889ad965ac995049704b1c46176c6d.
* Revert "Make the LIBDIR path configurable"Libravatar Rostislav Pehlivanov2018-05-06
| | | | This reverts commit 1670b46bf6e56d37e69ab0fa32c6799e83397020.
* Revert "Meson: Replace option `instlibdir` with `libexecdir`"Libravatar Rostislav Pehlivanov2018-05-06
| | | | This reverts commit 830c4ef74c00dbe448da46cdbc576178abc5728e.
* Meson: Replace option `instlibdir` with `libexecdir`Libravatar Nicolas Braud-Santoni2018-05-05
| | | | | Derive a value from it, called `rundir` rather than writing join_paths(libexecdir, 'sway') all over the place.
* Make the LIBDIR path configurableLibravatar Nicolas Braud-Santoni2018-05-05
|
* Install swaybar and swaybg under /usr/lib/swayLibravatar Nicolas Braud-Santoni2018-05-05
|
* 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
|
* Add initial layer shell skeletonLibravatar Drew DeVault2018-03-28
|
* 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
|
* remove the rest of cmakeLibravatar Tony Crisci2017-12-01
|
* 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
|
* Fix missing include pathsLibravatar Tomáš Čech2016-04-28
| | | | | | 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.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.
* Fix whitespace issues.Libravatar Mikkel Oscar Lyderik2016-01-05
|
* 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
* cmake: build common code only onceLibravatar Christoph Gysin2015-12-02
| | | | This creates (static) libraries for protocols/, common/, and wayland/.
* cmake: remove subprojectsLibravatar Christoph Gysin2015-12-01
|