Anselm R Garbe
975c898376
applied Markus' decouple color-scheme patch
8 years ago
Anselm R Garbe
a137a86a23
applied Markus' clarify status text padding patch
8 years ago
Hiltjo Posthuma
ab9571bbc5
die() consistency: always add newline
8 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
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
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
Eric Pruitt
14343e69cc
Add Xft and follback-fonts support to graphics lib
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
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
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
f2544a3318
renamed draw into drw
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
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
61fe833a06
reverting to plain X11 fonts in order to implement draw.c default
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
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
anselm@garbe.us
20f6917910
drastically changed updategeom() handling, see comment in updategeom() for details
13 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
13 years ago
anselm@garbe.us
90f3238301
added kludge to fix some input focus misbehavior in gedit and anjuta, thanks Martti Kühne
13 years ago
anselm@garbe.us
3bfc43c3d0
applied Andreas Amanns' netwm_client_list patch, but with some indentation fixes
13 years ago
anselm@garbe.us
c1128417a9
applied Andreas Amann's netwm_active_window patch, thx
13 years ago
anselm@garbe.us
1b62f8fa58
applied Andreas Amann fullscreen fix, some minor modifications
13 years ago
Connor Lane Smith
54c3044dec
unfocus on slow sloppy monitor focus
13 years ago
anselm@garbe.us
51336aa4a3
applied Eckehard Berns fix fix, sorry that this took so long
13 years ago
anselm@garbe.us
873bcb97a9
applied Eckehard Berns barwin leak fix and his suggestion to deal with restack() -- the latter aspect needs further investigation.
13 years ago
Connor Lane Smith
b5068e32e9
add sloppy monitor focus
13 years ago
Connor Lane Smith
80a9da555e
calculate window/monitor intersection
13 years ago
Connor Lane Smith
d21026f0a1
honour fullscreen hint on map
13 years ago
anselm@garbe.us
e5a1e77351
testing Brians multiscreen issue fix
13 years ago
Christoph Lohmann
8262d9e663
make ewmh dialog windows float
13 years ago
Connor Lane Smith
90af1ced3c
allow 0 nmaster
13 years ago
Connor Lane Smith
5ccd42f807
fix big-border corner case
13 years ago
Connor Lane Smith
2420071f4c
improve tile spacing
13 years ago
Connor Lane Smith
b1a28ae1da
apply nmaster patch
13 years ago