Commit Graph

7 Commits

Author SHA1 Message Date
bakkeby
8c4eaccf16 Adding pango patch (ref. #10)
Text from original patch:

Using pango markup for status text

Use a single font. Removed some code utf8 code from drw.
Created for pango 1.44. Older versions might not have getter
for font height, ascent + descent can be used instead.
All texts are rendered with pango but only status is with
markup. Increased stext size (in case a lot of markup is used).
MIN/MAX is already defined (didn't redefine them).
2020-06-11 16:44:43 +02:00
bakkeby
b3d6a47f4f config.mk: fix POSIX_C_SOURCE macro for feature test for snprintf()
The feature test was incorrect:
_POSIX_C_SOURCE=2

"The value 2 or greater additionally exposes definitions for POSIX.2-1992."
http://man7.org/linux/man-pages/man7/feature_test_macros.7.html

A higher value is needed (atleast 1995):
https://pubs.opengroup.org/onlinepubs/9699919799/functions/snprintf.html

FreeBSD feature test macro:
on
https://github.com/freebsd/freebsd/blob/master/include/stdio.h line 297

This was already fixed in dmenu.

This fixes a warning on FreeBSD, reported by Plasmoduck on IRC, thanks.
2020-04-03 17:25:16 +02:00
bakkeby
9440e76936 The Xrender library does not need to be included by default, only include when alpha patch is enabled. 2020-04-02 13:08:32 +02:00
bakkeby
a560b9cb53 Adding rounded corners patch 2020-03-31 10:21:45 +02:00
bakkeby
3726d8d1ea Adding swallow patch 2019-10-24 09:33:20 +02:00
bakkeby
ed1c509df3 Adding mdpcontrol patch 2019-10-10 23:09:07 +02:00
bakkeby
c34c536f3e Adding alpha patch 2019-09-05 00:16:39 +02:00