Drew DeVault
b32bf595ae
Initial swaylock port
7 years ago
Drew DeVault
a28730edee
Move swaybg background rendering into common/
...
swaylock will use it too
7 years ago
Drew DeVault
294a33458f
Merge pull request #1710 from emersion/swaybg-empty-input-region
...
swaybg: set an empty input region
7 years ago
emersion
6929124cef
swaybg: rename w{width,height} to buffer_{width,height}
7 years ago
emersion
9b4f8637a9
swaybg: add HiDPI support
7 years ago
emersion
1382b66217
swaybg: set an empty input region
7 years ago
Drew DeVault
6907a2f2cf
Set exclusive zone to -1 for swaybg
7 years ago
Drew DeVault
d39bda76c4
Address review comments
7 years ago
Drew DeVault
653853062f
Refactor configure/ack configure/commit flow
7 years ago
Drew DeVault
17e39f6291
s/scaling_mode/background_mode/g
...
Since it now includes SOLID_COLOR this is a more appropriate name.
7 years ago
Drew DeVault
f018d30fe4
Implement image backgrounds
7 years ago
Drew DeVault
632bb948b7
Add solid-color rendering to swaybg
7 years ago
Drew DeVault
eccf0b2598
Add client protocols and swaybg skeleton
7 years ago
Linus Heckemann
d06ec90a9d
swaybg: check that background can be loaded
8 years ago
Drew DeVault
b2226ac655
Add client support for HiDPI
...
This adds HiDPI support to swaybar, swaybg, and swaylock.
8 years ago
Zandr Martin
98aa59fdda
implement solid color rendering for swaybg
9 years ago
Drew DeVault
6d971af5c3
Turn swaybg into a shell surface
9 years ago
David Eklov
6d94f77457
Revert "swaybg: Make swaybg a shell surface"
...
This reverts commit 99bda4afe2
.
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.
9 years ago
David Eklov
99bda4afe2
swaybg: Make swaybg a shell surface
9 years ago
Mikkel Oscar Lyderik
5e253fdd9a
Correctly exit sway on errors.
...
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.
9 years ago
progandy
21014e606b
make gdk-pixbuf dependency really optional
9 years ago
Drew DeVault
d2e9c68640
Copy+paste swaybg code to swaylock for testing
9 years ago
Drew DeVault
067ac6cfa7
Discover swaylock extension in registry
9 years ago
Drew DeVault
080a263785
Refactor gdk pixbuf code into shared client lib
9 years ago
Drew DeVault
155f5d2d3e
Style enforcement
9 years ago
progandy
3fdf4f811f
swaybg: load more image formats with gdk-pixbuf2
...
travis: added gdk-pixbuf2 dependency
9 years ago
Drew DeVault
60e76cf932
Add swaybar basics
...
This should make the bar open and appear as the panel, once sway
supports panels. Right now it crashes sway!
9 years ago
Christoph Gysin
3ba33321de
Use macros for exit values
9 years ago
Drew DeVault
e0cb8284fb
Rearrange logging headers
...
Ref #270
9 years ago
Drew DeVault
9b62a98f3e
Style fixes in swaybg
...
CONTRIBUTING.md's code example is sourced from this file, so I updated
it as well.
9 years ago
Drew DeVault
5ae359279b
Fix build warnings
9 years ago
Drew DeVault
d1012c497b
Style enforcement
9 years ago
Drew DeVault
f8f0bcd4d3
Don't use the _t postfix on non-typedef structures
9 years ago
Christoph Gysin
be3fae148b
swaybg: implement scaling mode "fit"
9 years ago
Christoph Gysin
8630bc3752
swaybg: implement scaling mode "tile"
9 years ago
Christoph Gysin
621062f18d
swaybg: implement scaling mode "center"
9 years ago
Christoph Gysin
81a87ec7a7
swaybg: implement scaling mode "fill"
9 years ago
Christoph Gysin
904983c375
swaybg: implement scaling mode "stretch"
9 years ago
Christoph Gysin
504ac84cbc
swaybg: check for exact number of arguments
9 years ago
Christoph Gysin
78c2e29328
swaybg: make argv const
9 years ago
Drew DeVault
5728307520
Add wallpapers to output command
9 years ago
Drew DeVault
392f02da64
Stretch image to fit output resolution
9 years ago
Drew DeVault
1a3a7f2514
Basic image rendering for swaybg
9 years ago
Drew DeVault
b4e5e1381f
Refactor the crap out of wayland clients
...
And create a background surface on every output when invoking swaybg.
9 years ago
Drew DeVault
82db2a57a9
Basic support for extensions in server and clients
9 years ago
Drew DeVault
86372d00db
Fix SIGBUS from wayland clients
9 years ago
Drew DeVault
9a1e95b7da
Clean up memory pool files better
9 years ago
Drew DeVault
399220f14b
Fix up wayland client implementation
...
Now it receives frame callbacks and renders properly, and is double
buffered and such.
9 years ago
Sergi Granell
a8b18b5159
Check the client_setup() return value
9 years ago
Drew DeVault
f7c0d2badb
Clean up some things better in wayland clients
9 years ago