summaryrefslogtreecommitdiff
path: root/common/util.c
AgeCommit message (Collapse)AuthorLines
2016-09-01Reorganize includesDrew DeVault-2/+5
2016-08-04common: use strtoul in parse_color to avoid clampprogandy-1/+1
Some implementations of strtol may clamp the values to LONG_MAX instead of wrapping around to negative values, so use strtoul instead to parse colors.
2016-07-30implement solid color rendering for swaybgZandr Martin-0/+13
2016-06-11couple small fixesZandr Martin-8/+12
2016-06-11cleanup + add timeouts for pid_workspace listZandr Martin-18/+10
2016-06-10semi-working (only non-client/server wayland apps)Zandr Martin-1/+38
2016-01-24numlen(0) == 1Mikkel Oscar Lyderik-1/+1
2016-01-24use log10 in numlenMikkel Oscar Lyderik-7/+6
2016-01-23Revert "s/numlen/log10/g"Drew DeVault-0/+10
This reverts commit 038bb8cc7c4dee77f8ee4ba3ac1ffc47409b2370.
2016-01-23s/numlen/log10/gDrew DeVault-10/+0
2016-01-08Add function for getting list of modifier names.Mikkel Oscar Lyderik-0/+14
Get an array of modifier names from modifier masks.
2016-01-05Move modifier name table to common/util.cMikkel Oscar Lyderik-0/+38
Lookup of modifier names is required in several places, thus it makes sense to move it to a general place.
2015-12-14Move sway/util.c to common/util.cMikkel Oscar Lyderik-0/+15