Stein
c2b748e793
Remove dmenumon variable
Reasoning: Since 2011 dmenu has been capable of working out which
monitor currently has focus in a Xinerama setup, making the use
of the -m flag more or less redundant.
This is easily demonstrated by using dmenu in any other window
manager.
There used to be a nodmenu patch that provided these changes:
https://git.suckless.org/sites/commit/ed68e3629de4ef2ca2d3f8893a79fb570b4c0cbc.html
but this was removed on the basis that it was very easy to work
out and apply manually if needed.
The proposal here is to remove this dependency from dwm. The
mechanism of the dmenumon variable could be provided via a patch
if need be.
The edge case scenario that dmenu does not handle on its own, and
the effect of removing this mechanism, is that if the user trigger
focusmon via keybindings to change focus to another monitor that
has no clients, then dmenu will open on the monitor containing the
window with input focus (or the monitor with the mouse cursor if
no windows have input focus).
If this edge case is important to cover then this can be addressed
by setting input focus to selmon->barwin in the focus function if
there is no client to give focus to (rather than giving focus back
to the root window).
2 years ago
NRK
84d7322113
config.def.h: make keys and buttons const
pretty much all other variables are declared as const when they're not
modified.
2 years ago
Quentin Rameau
138b405f0c
Add a configuration option for fullscreen locking
Some people are annoyed to have this new behaviour forced for some
application which use fake fullscreen.
3 years ago
Hiltjo Posthuma
c3a2e016bb
config.def.h: ClkTagBar missing from comment
by Christopher Drelich <cd@cdrakka.com>
Patch was mangled on the ML, also adjusted the order to be the same as
the enum in dwm.c
7 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
975c898376
applied Markus' decouple color-scheme patch
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
Hiltjo Posthuma
3c91283ede
unboolification
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
7e1182ce55
config.h: use common default font, pass Xft font name to dmenu
dmenu uses Xft now (soon to be released).
9 years ago
Eric Pruitt
14343e69cc
Add Xft and follback-fonts support to graphics lib
10 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
7edc596311
include font argument for st by default
12 years ago
Anselm R Garbe
656882d76f
use st as default terminal from now on
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
fd3c19bd55
incorporating Xft instead of cairo, cairo provides far too many options
12 years ago
anselm@garbe.us
c4b6ac812e
added 20h's clarification
13 years ago
Connor Lane Smith
f099d2d5b5
new default colour scheme
13 years ago
Connor Lane Smith
b1a28ae1da
apply nmaster patch
13 years ago
anselm@garbe.us
c6180949a7
applied Sylvain Laurent's EWMH fullscreen state patch, simplified his patch a bit
15 years ago
Anselm R Garbe
c3feffa1e2
applied Tony Lainson's config.def.h patch
15 years ago
Anselm R Garbe
758b100d12
extended rule to apply monitors if set up accordingly
16 years ago
Anselm R Garbe
565050ac51
removed monsyms, useless
16 years ago
Anselm R Garbe
5e408d8ff6
restricting number of mons by length of monsyms
16 years ago
Anselm R Garbe
1724f7fa43
introducing const where it might make some sense
16 years ago
Anselm R Garbe
a9e145fe6d
changed focusmon/tagmon to work on prev/next instead (-1/+1), changed shortcuts to Mod1-, Mod1-. and Mod1-Shift-, Mod1-Shift-.
16 years ago
Anselm R Garbe
ca376970db
more sensible
16 years ago
Anselm R Garbe
8352f2b3a8
hmm, can't decide on the default monitor symbol set
16 years ago
Anselm R Garbe
d4bfde79f3
update
16 years ago
Anselm R Garbe
7ac8c1d4e1
introduced monitor symbols
16 years ago
Anselm R Garbe
1d729384d1
several bugfixes
16 years ago
Anselm R Garbe
1ddfc571ae
several simplifications
16 years ago
Anselm R Garbe
c2fff604a7
we need a tagset per monitor, removed tagset declaration from config.h
16 years ago
Anselm R Garbe
2ce37bc69e
experimental xinerama support, two new actions, Mod1-w/e and Mod1-Shift-w/e
16 years ago
Anselm R Garbe
2dbfda72f0
removed MAXTAGLEN
16 years ago
Anselm R Garbe
565697087b
applied Gottox' patches, and also removed usegrab
16 years ago
a@null
0b5dcf229f
applied Neale Pickett's xprop status reading patch, updated README and dwm.1 accordingly
16 years ago
Anselm R Garbe
ea8a4ca46a
several changes towards 5.3, XINERAMA is disabled by default, introduced usegrab Bool for grabbing the server during mouse-based resizals/movements (disabled by default), continued debugging tile() with resizehints == True and a lot of terminals supporting resizehints, still no optimal solution, I need to think about it, considering recursive algorithm for the space optimization
16 years ago
Anselm R Garbe
ec11a3470c
introduced NOBORDER macro to hide the nasty - 2 * c->bw in various calculations, moved tagset to config.def.h
16 years ago
Anselm R Garbe
051a404b66
added a comment about FAQ regarding mfact meaning
17 years ago
Anselm R Garbe
b279cef670
made readin a config.h variable
17 years ago
Premysl Hruby
78f0f8595f
make hg tip compilable with default config
17 years ago
Anselm R Garbe
c86ed46a1b
got rid of compile time xidx configuration, querying mouse pointer instead
17 years ago
Anselm R Garbe
a6d23fb61c
removed useless comment
17 years ago
Anselm R Garbe
829b6b57e7
removed useless characters
17 years ago
Anselm R Garbe
b86c818599
applied Gottox' ClkTagBar patch
17 years ago
Anselm R Garbe
12ea925076
untested monocle
17 years ago
Anselm R Garbe
f25cc5678f
tiled layout resizehints should be respected by default
17 years ago