aboutsummaryrefslogtreecommitdiff
path: root/client
AgeCommit message (Collapse)AuthorLines
2022-11-24Use shm_open instead of mkstempFurkan Sahin-35/+31
shm_open is more reliable because it does not require a writeable filesystem folder, unlike mkstemp.
2021-05-07cairo: Replace <cairo/cairo.h> by <cairo.h>Furkan Sahin-1/+1
For full context, read https://gitlab.freedesktop.org/cairo/cairo/-/issues/479 TL;DR, cairo’s pc file adds `/cairo` to CFLAGS. So namespace cairo shouldn’t be used.
2019-10-28Rename symbol set_cloexec to sway_set_cloexec, remove duplicates.Furkan Sahin-14/+2
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-04-25swaybg: split into standalone projectFurkan Sahin-1/+0
The new upstream is https://github.com/swaywm/swaybg This commit also refactors our use of gdk-pixbuf a bit, since the only remaining reverse dependency is swaybar tray support.
2019-01-22Fix dead stores found by scan-buildFurkan Sahin-1/+0
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.
2019-01-21Removed unused wlroots dependency for sway(bg|bar|msg|nag)Furkan Sahin-2/+1
Also remove direct libm dependency where unused.
2018-09-03Change _XOPEN_SOURCE defines to _POSIX_C_SOURCEFurkan Sahin-1/+1
2018-08-30Fix feature macros for FreeBSDFurkan Sahin-1/+1
On FreeBSD, snprintf and vsnprintf are visible only if _XOPEN_SOURCE >= 600.
2018-06-17Set pool_buffers busy when handing them outFurkan Sahin-0/+1
2018-05-25client/pool-buffer: munmap in destroy_bufferFurkan Sahin-1/+6
2018-05-25client/pool-buffer: set CLOEXEC on buffer FD, just in caseFurkan Sahin-10/+29
2018-04-05Handle output removal on swaybarFurkan Sahin-1/+1
2018-03-31assert(fd != -1);Furkan Sahin-1/+1
Thanks @martinetd
2018-03-28Address review commentsFurkan Sahin-15/+11
2018-03-27Fix styleFurkan Sahin-1/+1
2018-03-27Add solid-color rendering to swaybgFurkan Sahin-0/+144