Omar Sandoval
a9b6a312a7
Set class name on status bar
...
This is useful for configuring compositors to ignore the status bar
window.
7 years ago
Daniel Cousens
6aa8e37efe
simplify isfixed conditions
7 years ago
Anselm R Garbe
ceac8c91ff
yet another cleanup
...
The previous patches introduced some unclean space-based indentation
patterns. This patch fixes them.
8 years ago
Markus Teich
5b238c8dab
Don't restrict snap in mousemove
...
This also fixes a bug where client windows only switch to floating mode when the
mouse is dragged in one specific direction.
8 years ago
Markus Teich
022d076054
Button passthrough when client is not focused
...
Before this change it is not possible to press a button in a client on the first
click if the client is not yet focused. The first click on the button would
only focus the client and a second click on the button is needed to activate it.
This situation can occur when moving the mouse over a client (therefore focusing
it) and then moving the focus to another client with keyboard shortcuts.
After this commit the behavior is fixed and button presses on unfocused clients
are passed to the client correctly.
8 years ago
Markus Teich
2952b68db8
cleanup
...
- unify multi-line expression alignment style.
- unify multi-line function call alignment style.
- simplify client moving on monitor count decrease.
- clarify comment for focusin().
- remove old confusing comment about input focus fix in focusmon(). The
explanation is already in the old commit message, so no need to keep it in the
code.
- remove old comment describing even older state of the code in focus().
- unify comment style.
- break up some long lines.
- fix some typos and grammar.
8 years ago
Anselm R Garbe
bb3bd6fec3
applied Markus' tagset purge of alternative view on _NET_ACTIVE_WINDOW event
8 years ago
Anselm R Garbe
e63bf22948
applied Ivan Delalande's NET_SUPPORTING_WM_CHECK patch for gtk3 compatibility
8 years ago
Anselm R Garbe
5376947571
applied Ian Remmler's man page adjustment suggestions
8 years ago
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
Quentin Rameau
839c7f6939
LICENSE: update people
8 years ago
Quentin Rameau
7a59cd1457
dwm.1: add keybinding for spawning dmenu
8 years ago
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