aboutsummaryrefslogtreecommitdiff
path: root/client/pool-buffer.c
AgeCommit message (Collapse)Author
2019-11-01Rename symbol set_cloexec to sway_set_cloexec, remove duplicates.Sheena Artrip
set_cloexec is defined by both sway and wlroots (and who-knows-else), so rename the sway one for supporting static linkage. We also remove the duplicate version of this in client/. Fixes: https://github.com/swaywm/sway/issues/4677
2019-01-22Fix dead stores found by scan-buildM Stoeckl
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.
2018-09-03Change _XOPEN_SOURCE defines to _POSIX_C_SOURCEsghctoma
2018-08-30Fix feature macros for FreeBSDsghctoma
On FreeBSD, snprintf and vsnprintf are visible only if _XOPEN_SOURCE >= 600.
2018-06-17Set pool_buffers busy when handing them outvilhalmer
2018-05-27client/pool-buffer: munmap in destroy_bufferemersion
2018-05-27client/pool-buffer: set CLOEXEC on buffer FD, just in caseemersion
2018-04-05Handle output removal on swaybarDrew DeVault
2018-03-31assert(fd != -1);Drew DeVault
Thanks @martinetd
2018-03-28Address review commentsDrew DeVault