Dominique Martinet
67985e9031
sway: change all sway_log to wlr_log
2018-01-05 23:39:46 +01:00
Dominique Martinet
977c1f6a30
common/util: replace WLC_BIT_MOD_* by WLR_MODIFIER_*
...
This removes the last wlc/wlc.h include actually in use
2017-11-23 00:23:37 +01:00
johalun
7fef283044
FreeBSD fixes
...
Increase _POSIX_SOURCE value where needed.
Increase _XOPEN_SOURCE value where needed.
Conditionally link to libcap (only on Linux).
Possibly some trailing whitespace fixes (automatic).
2017-06-06 09:45:50 +02:00
Mykyta Holubakha
f470fa58a3
Replace spaces with tabs in resolve_path
2017-05-11 19:38:32 +03:00
Jerzi Kaminsky
c9694ee63d
Add resolve_path() to utils
2017-04-16 17:09:53 +03:00
Drew DeVault
9aed9d9359
UnGNUify the codebase
2017-03-10 23:41:24 -05:00
Calvin Lee
34e2c70abc
Feature for #1078 : Configurable swaylock colors
...
Colors are configured through the command line so that swaylock conforms
to the i3lock fork 'github.com/chrjguill/i3lock-color'. Differences from
it are that one letter options '-r' and '-s' are not implimentend because
'-s' is already used by '--scaling' in swaylock.
This commit also fixed whitespace in 'include/swaylock/swaylock.h' and
changed `parse_color` in 'common/util.h' so that it can accept colors
that do not start with a hash. This was done to keep compatability with
the i3lock fork.
2017-02-21 14:12:31 -07:00
Drew DeVault
416417a54c
Reorganize includes
2016-09-01 08:18:37 -04:00
progandy
bf4056a2c6
common: use strtoul in parse_color to avoid clamp
...
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-08-04 14:37:54 +02:00
Zandr Martin
98aa59fdda
implement solid color rendering for swaybg
2016-07-30 18:50:13 -05:00
Zandr Martin
9ecb43ea3b
couple small fixes
2016-06-11 15:29:04 -05:00
Zandr Martin
2298143d09
cleanup + add timeouts for pid_workspace list
2016-06-11 12:43:34 -05:00
Zandr Martin
03d79b41c7
semi-working (only non-client/server wayland apps)
2016-06-10 06:08:59 -05:00
Mikkel Oscar Lyderik
c8cf3f70f9
numlen(0) == 1
2016-01-24 03:02:51 +01:00
Mikkel Oscar Lyderik
2707be7199
use log10 in numlen
2016-01-24 02:59:58 +01:00
Drew DeVault
a416715372
Revert "s/numlen/log10/g"
...
This reverts commit 038bb8cc7c
.
2016-01-23 16:35:32 -05:00
Drew DeVault
038bb8cc7c
s/numlen/log10/g
2016-01-23 15:51:38 -05:00
Mikkel Oscar Lyderik
dffacea831
Add function for getting list of modifier names.
...
Get an array of modifier names from modifier masks.
2016-01-08 03:03:40 +01:00
Mikkel Oscar Lyderik
95e0f44c73
Move modifier name table to common/util.c
...
Lookup of modifier names is required in several places, thus it makes
sense to move it to a general place.
2016-01-05 18:36:24 +01:00
Mikkel Oscar Lyderik
cf56c41c10
Move sway/util.c to common/util.c
2015-12-14 17:17:06 +01:00