Hiltjo Posthuma
bb2e7222ba
dwm.1: fix wrong text in man page
2020-07-08 18:05:50 +02:00
Hiltjo Posthuma
c82db690cc
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 15:36:32 +02:00
Hiltjo Posthuma
b69c870a30
pledge: add rpath promise for the ugly Xft font fallback
2018-06-02 17:15:42 +02:00
Hiltjo Posthuma
e78b4a9207
Makefile: just show the compiler output
...
Don't be fancy and just show the actual output so debugging is simpler.
2018-06-02 17:10:28 +02:00
Hiltjo Posthuma
c3a2e016bb
config.def.h: ClkTagBar missing from comment
...
by Christopher Drelich <cd@cdrakka.com >
Patch was mangled on the ML, also adjusted the order to be the same as
the enum in dwm.c
2018-05-25 06:56:36 +02:00
Hiltjo Posthuma
10dfa65860
remove old TODO and BUGS entries
...
the bug in the dwm man page is an (ancient) Java issue.
Thanks David and quinq for the patches and feedback!
2018-05-12 19:14:19 +02:00
Hiltjo Posthuma
3bd8466e93
update README: remove mentioning the old dextra repo
...
Thanks Christopher Drelich <cd@cdrakka.com >
2018-03-14 21:03:11 +01:00
Hiltjo Posthuma
db2236001c
dont NUL terminate _NET_WM_NAME
...
Reported by Kernc, thanks!
"This makes a particular program that uses libwnck [1] fail after:
Wnck-WARNING **: Property _NET_WM_NAME contained invalid UTF-8
in this code [2] because the returned string contains a '\0' and the
documentation for g_utf8_validate() [3] explicitly states that when
string length is provided, no nul bytes are allowed."
It is not entirely clear it is incorrect, other WM's seem to not
NUL terminate it either though.
2017-12-27 13:36:53 +01:00
Hiltjo Posthuma
3756f7f6b8
sync dmenu drw.{c,h} code: use Clr* (was Scm)
2017-11-03 21:20:48 +01:00
Hiltjo Posthuma
99f78fa553
gettextprop: check result of XGetTextProperty (undefined behaviour for XFree)
2017-11-03 21:14:58 +01:00
Hiltjo Posthuma
24849acada
die() on calloc failure
...
thanks Markus Teich and David!
2016-11-05 11:34:52 +01:00
Hiltjo Posthuma
ab9571bbc5
die() consistency: always add newline
2016-08-12 14:36:35 +02:00
Hiltjo Posthuma
56a31dc4a7
config.def.h: style improvement, use color Scheme enum
2016-06-28 18:04:56 +02:00
Hiltjo Posthuma
3465bed290
fix fullscreen clients not resized on X display resolution change
...
patch provided by Bert Münnich <ber.t_AT_posteo.de>, thanks!
2015-12-19 20:25:26 +01:00
Hiltjo Posthuma
5ed9c48196
code-style consistency
2015-11-08 23:11:48 +01:00
Hiltjo Posthuma
3c91283ede
unboolification
2015-11-08 22:48:43 +01:00
Hiltjo Posthuma
e941181f46
sort include + whitespace fix
2015-11-08 20:38:00 +01:00
Hiltjo Posthuma
43e82adf0d
separate program-specific c99 bool and X11
...
True, False are X11-specific (int), make sure to use c99 stdbool for
program-specific things.
2015-11-08 20:35:25 +01:00
Hiltjo Posthuma
42cf1c7d8f
Makefile: package all files with make dist
2015-11-08 16:52:53 +01:00
Hiltjo Posthuma
646b351cc7
sync updated drw code from dmenu
...
important:
- drw_rect: didn't use w and h, change the dwm code accordingly.
- drw_text: text is NULL is not allowed, use drw_rect().
2015-10-20 23:38:31 +02:00
Hiltjo Posthuma
e3b7e1d620
dwm: use ecalloc, prevent theoretical overflow
2015-10-20 23:38:31 +02:00
Hiltjo Posthuma
04db03a4e6
cleanup, dont use c++ style comments
...
- signal: print error string.
- die: start message with lower-case (consistency).
- bump version to 2015.
2015-10-20 23:38:20 +02:00
Hiltjo Posthuma
4a4817b3aa
dwm: cleanup: free schemes and cursors as array
2015-10-20 23:27:31 +02:00
Hiltjo Posthuma
7e1182ce55
config.h: use common default font, pass Xft font name to dmenu
...
dmenu uses Xft now (soon to be released).
2015-10-20 23:10:54 +02:00
Hiltjo Posthuma
40529e1469
config.mk: add $FREETYPELIBS and $FREETYPEINC, simpler to override (ports and *BSDs)
2015-10-20 23:01:49 +02:00