Hiltjo Posthuma
24849acada
die() on calloc failure
...
thanks Markus Teich and David!
8 years ago
Hiltjo Posthuma
ab9571bbc5
die() consistency: always add newline
8 years ago
Hiltjo Posthuma
56a31dc4a7
config.def.h: style improvement, use color Scheme enum
9 years ago
Markus Teich
7af4d439bd
import new drw from libsl and minor fixes.
...
- better scaling for occupied tag squares.
- draw statusline first to omitt some complicated calculations.
9 years ago
Eric Pruitt
cd2d7549b3
Configure geometry before applying rules
...
Configuring geometry before applying rules makes it possible to have
more complex constraints in applyrules that depend on the initial window
dimensions and location.
9 years ago
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!
9 years ago
Quentin Rameau
4ec3a673ff
Shut up glibc about _BSD_SOURCE being deprecated
9 years ago
Hiltjo Posthuma
5ed9c48196
code-style consistency
9 years ago
Hiltjo Posthuma
3c91283ede
unboolification
9 years ago
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
10 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
11 years ago
Anselm R Garbe
b468873b2b
updated copyright notice in LICENSE file
11 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
12 years ago
Anselm R Garbe
b800a1d136
applied Jochen's drw_text patch, thanks
12 years ago
Anselm R Garbe
33a74489f0
applied Julian's enum approach,
...
however renamed theme into scheme resp. Theme into ClrScheme
12 years ago
Anselm R Garbe
5364697914
finished libsl/drw integration
12 years ago
Anselm R Garbe
7edc596311
include font argument for st by default
12 years ago
Anselm R Garbe
68b400e95d
added st to SEE ALSO section
12 years ago
Anselm R Garbe
656882d76f
use st as default terminal from now on
12 years ago
Anselm R Garbe
1479e76f01
shut up about deprecated Xlib functions
12 years ago
Anselm R Garbe
f2544a3318
renamed draw into drw
12 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
13 years ago
anselm@garbe.us
940feed314
reverted to old updategeom() after several complains, we need to optimize the old way
13 years ago
anselm@garbe.us
606b44179d
applied James Turner's XkbKeycodeToKeysym patch, thanks
13 years ago