aboutsummaryrefslogtreecommitdiff
path: root/common/util.c
AgeCommit message (Collapse)Author
2016-08-04common: use strtoul in parse_color to avoid clampprogandy
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
2016-06-11couple small fixesZandr Martin
2016-06-11cleanup + add timeouts for pid_workspace listZandr Martin
2016-06-10semi-working (only non-client/server wayland apps)Zandr Martin
2016-01-24numlen(0) == 1Mikkel Oscar Lyderik
2016-01-24use log10 in numlenMikkel Oscar Lyderik
2016-01-23Revert "s/numlen/log10/g"Drew DeVault
This reverts commit 038bb8cc7c4dee77f8ee4ba3ac1ffc47409b2370.
2016-01-23s/numlen/log10/gDrew DeVault
2016-01-08Add function for getting list of modifier names.Mikkel Oscar Lyderik
Get an array of modifier names from modifier masks.
2016-01-05Move modifier name table to common/util.cMikkel Oscar Lyderik
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