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.
8 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!
8 years ago
Hiltjo Posthuma
5ed9c48196
code-style consistency
8 years ago
Hiltjo Posthuma
3c91283ede
unboolification
8 years ago
Hiltjo Posthuma
e941181f46
sort include + whitespace fix
8 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.
8 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>)
8 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
9 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
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
11 years ago
Anselm R Garbe
5364697914
finished libsl/drw integration
11 years ago
Anselm R Garbe
f2544a3318
renamed draw into drw
11 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
11 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.
11 years ago
anselm@garbe.us
61fe833a06
reverting to plain X11 fonts in order to implement draw.c default
11 years ago
anselm@garbe.us
31451c3ad3
compile fix
11 years ago
anselm@garbe.us
344f35f9f5
applied Neil Klopfstein's patch, slightly modified
11 years ago
anselm@garbe.us
87adcd263b
starting with initial draw.h
11 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
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
873bcb97a9
applied Eckehard Berns barwin leak fix and his suggestion to deal with restack() -- the latter aspect needs further investigation.
12 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
Connor Lane Smith
f68a01cd76
apply resize hints in floating layout
13 years ago
Connor Lane Smith
2b625eb73e
hide clients to the left, not the right
13 years ago
garbeam@gmail.com
0f1f30daca
applied Connors cleanup patch of Eckehards proposed fix of applyrules(), thanks everyone involved
13 years ago
garbeam@gmail.com
dec4850d05
applied Connors and Valentins patch to improve the unmapnotify handling of broken clients
13 years ago