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
7a40eb6de6
Support cursors over wayland clients
...
Apparently wayland has fucking client-side cursors, too
9 years ago
Drew DeVault
929537c158
Generate protocol headers
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
Drew DeVault
fd1a59def3
Clean up CMake stuff
9 years ago
Ben Boeckel
ec013d1f1a
common: create a static library
9 years ago
Ben Boeckel
98678dea5d
cmake: clean up installation rules
9 years ago
Ben Boeckel
2e9183e4de
cmake: set the output directory once
9 years ago
Drew DeVault
11b1ba397f
Further refinement of wayland client support
9 years ago
Drew DeVault
bfcabe48ef
Start fleshing out wayland client implementation
...
This introduces a basic shared framework for making wayland clients
within sway itself.
9 years ago
Drew DeVault
4dc913c95e
Add swaybg executable
...
This will let users set their background to something other than that
cringy demoscene thing wlc has now. It's also going to be the first
wayland client written for sway, so I picked an easy thing to work on.
We'll have to figure out how to indicate that it's a special view.
9 years ago