Hiltjo Posthuma
e941181f46
sort include + whitespace fix
9 years ago
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.
9 years ago
Hiltjo Posthuma
42cf1c7d8f
Makefile: package all files with make dist
9 years ago
Quentin Rameau
dce4fb3737
setfullscreen: don't process the property twice
Some clients try to set _NET_WM_STATE_FULLSCREEN even when the window is
already in fullscreen.
For example, c->oldstate was set two times in a raw and window would
then always be floating.
We must check that it's not the case before processing it.
(original patch modified with suggestion from Markus Teich
<markus.teich@stusta.mhn.de>)
9 years ago
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().
9 years ago
Hiltjo Posthuma
e3b7e1d620
dwm: use ecalloc, prevent theoretical overflow
9 years ago
Hiltjo Posthuma
04db03a4e6
cleanup, dont use c++ style comments
- signal: print error string.
- die: start message with lower-case (consistency).
- bump version to 2015.
9 years ago
Hiltjo Posthuma
4a4817b3aa
dwm: cleanup: free schemes and cursors as array
9 years ago
Hiltjo Posthuma
7e1182ce55
config.h: use common default font, pass Xft font name to dmenu
dmenu uses Xft now (soon to be released).
9 years ago
Hiltjo Posthuma
40529e1469
config.mk: add $FREETYPELIBS and $FREETYPEINC, simpler to override (ports and *BSDs)
9 years ago
Eric Pruitt
14343e69cc
Add Xft and follback-fonts support to graphics lib
9 years ago
Anselm R Garbe
35db6d8afc
removed .hgtags, thanks Dimitris for spotting
10 years ago
Anselm R Garbe
3d1090ba89
applied Hiltjo's resize/move limitation
"Limit the amount of updates when resizing or moving a window in floating
mode to 60 times per second. This makes resizing and moving alot smoother
and by limiting it it also uses alot less resources on my machine.
10 years ago
Anselm R Garbe
18248ebf4b
same as before with dwm.c as well
10 years ago
Anselm R Garbe
b468873b2b
updated copyright notice in LICENSE file
10 years ago
Anselm R Garbe
cdec9782a1
applied Lukas' focus suggestion at startup, thanks
11 years ago
Anselm R Garbe
6af273771c
applied improved version of Martti Kühne's dmenu/multi monitor approach from dwm, no dmenuspawn required
11 years ago
Anselm R Garbe
4fb31e0896
do not take our font declaration as default for st
11 years ago
Anselm R Garbe
b800a1d136
applied Jochen's drw_text patch, thanks
11 years ago
Anselm R Garbe
33a74489f0
applied Julian's enum approach,
however renamed theme into scheme resp. Theme into ClrScheme
11 years ago
Anselm R Garbe
5364697914
finished libsl/drw integration
11 years ago
Anselm R Garbe
7edc596311
include font argument for st by default
11 years ago
Anselm R Garbe
68b400e95d
added st to SEE ALSO section
11 years ago
Anselm R Garbe
656882d76f
use st as default terminal from now on
11 years ago
Anselm R Garbe
1479e76f01
shut up about deprecated Xlib functions
11 years ago
Anselm R Garbe
f2544a3318
renamed draw into drw
11 years ago
Anselm R Garbe
aafeaf7317
continued with draw.c and draw.h implementation, now the integration begins
12 years ago
Anselm R Garbe
f21d46ea7d
continued with draw.c abstraction, also started util.{h,c} implementation, that will be used by draw.c as well
12 years ago
anselm@garbe.us
c0ba635c50
removed DDC, all is Draw-dependent
12 years ago
anselm@garbe.us
0a673ad7a3
continued, distinction of Draw and DDC is bad, needs to be merged
12 years ago
anselm@garbe.us
3aabc08ede
reverting the xkb dependency, I don't care if this function is deprecated, it seems it breaks other stuff instead.
12 years ago
anselm@garbe.us
d456617f0e
basic draw.c structure
12 years ago
anselm@garbe.us
61fe833a06
reverting to plain X11 fonts in order to implement draw.c default
12 years ago
anselm@garbe.us
917e281634
removed obsolete bugs from BUGS file
12 years ago
anselm@garbe.us
31451c3ad3
compile fix
12 years ago
anselm@garbe.us
344f35f9f5
applied Neil Klopfstein's patch, slightly modified
12 years ago
anselm@garbe.us
87adcd263b
starting with initial draw.h
12 years ago
anselm@garbe.us
fd3c19bd55
incorporating Xft instead of cairo, cairo provides far too many options
12 years ago
anselm@garbe.us
1bdb393f81
keep 6.1 intact
12 years ago
anselm@garbe.us
940feed314
reverted to old updategeom() after several complains, we need to optimize the old way
12 years ago
anselm@garbe.us
606b44179d
applied James Turner's XkbKeycodeToKeysym patch, thanks
12 years ago
anselm@garbe.us
20f6917910
drastically changed updategeom() handling, see comment in updategeom() for details
12 years ago
anselm@garbe.us
820cbb3545
reversed Andreas Amann's fullscreen fix with the approach proposed by Gary Langshaw:
- idea is not supporting movemouse/resizemouse/togglefloating for fullscreen windows
- as fullscreen windows are broken anyways, they should only be adjusted by their own means
12 years ago
anselm@garbe.us
90f3238301
added kludge to fix some input focus misbehavior in gedit and anjuta, thanks Martti Kühne
12 years ago
anselm@garbe.us
3bfc43c3d0
applied Andreas Amanns' netwm_client_list patch, but with some indentation fixes
12 years ago
anselm@garbe.us
c1128417a9
applied Andreas Amann's netwm_active_window patch, thx
12 years ago
anselm@garbe.us
1b62f8fa58
applied Andreas Amann fullscreen fix, some minor modifications
12 years ago
Connor Lane Smith
54c3044dec
unfocus on slow sloppy monitor focus
12 years ago
anselm@garbe.us
51336aa4a3
applied Eckehard Berns fix fix, sorry that this took so long
12 years ago
anselm@garbe.us
c4b6ac812e
added 20h's clarification
13 years ago