M Stoeckl
0af5b26e41
Fix dead stores found by scan-build
...
In addition to removing unused code, two minor problems are fixed:
(1) `resize set` and `resize adjust` did not error when given
too many arguments.
(2) `orientation` was incorrectly overridden to be 'U' for
scroll events in the swaybar tray `handle_click` function.
6 years ago
M Stoeckl
4b1eaaf731
Removed unused wlroots dependency for sway(bg|bar|msg|nag)
...
Also remove direct libm dependency where unused.
6 years ago
sghctoma
073dcb3a86
Change _XOPEN_SOURCE defines to _POSIX_C_SOURCE
6 years ago
sghctoma
cc16948c85
Fix feature macros for FreeBSD
...
On FreeBSD, snprintf and vsnprintf are visible only if
_XOPEN_SOURCE >= 600.
6 years ago
vilhalmer
54a5ee2747
Set pool_buffers busy when handing them out
7 years ago
emersion
36d5d4b40f
client/pool-buffer: munmap in destroy_buffer
7 years ago
emersion
8df2238956
client/pool-buffer: set CLOEXEC on buffer FD, just in case
7 years ago
Drew DeVault
f242362e7e
Handle output removal on swaybar
7 years ago
Drew DeVault
59f362196b
assert(fd != -1);
...
Thanks @martinetd
7 years ago
Drew DeVault
d39bda76c4
Address review comments
7 years ago
Drew DeVault
53e3763b58
Fix style
7 years ago
Drew DeVault
632bb948b7
Add solid-color rendering to swaybg
7 years ago