summaryrefslogtreecommitdiff
path: root/config.def.h
AgeCommit message (Collapse)Author
2022-08-28Remove dmenumon variableStein
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).
2022-08-19config.def.h: make keys and buttons constNRK
pretty much all other variables are declared as const when they're not modified.
2021-07-14Add a configuration option for fullscreen lockingQuentin Rameau
Some people are annoyed to have this new behaviour forced for some application which use fake fullscreen.
2018-05-25config.def.h: ClkTagBar missing from commentHiltjo Posthuma
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
2017-03-28cleanupMarkus Teich
- 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.
2016-12-05applied Markus' decouple color-scheme patchAnselm R Garbe
2016-06-28config.def.h: style improvement, use color Scheme enumHiltjo Posthuma
2016-06-26import new drw from libsl and minor fixes.Markus Teich
- better scaling for occupied tag squares. - draw statusline first to omitt some complicated calculations.
2015-11-08unboolificationHiltjo Posthuma
2015-11-08separate program-specific c99 bool and X11Hiltjo Posthuma
True, False are X11-specific (int), make sure to use c99 stdbool for program-specific things.
2015-10-20config.h: use common default font, pass Xft font name to dmenuHiltjo Posthuma
dmenu uses Xft now (soon to be released).
2015-03-13Add Xft and follback-fonts support to graphics libEric Pruitt
2013-08-02applied improved version of Martti Kühne's dmenu/multi monitor approach ↵Anselm R Garbe
from dwm, no dmenuspawn required
2013-07-20do not take our font declaration as default for stAnselm R Garbe
2013-05-02include font argument for st by defaultAnselm R Garbe
2013-05-01use st as default terminal from now onAnselm R Garbe
2012-11-18reverting to plain X11 fonts in order to implement draw.c defaultanselm@garbe.us
2012-11-02incorporating Xft instead of cairo, cairo provides far too many optionsanselm@garbe.us
2012-01-22added 20h's clarificationanselm@garbe.us
2011-11-06new default colour schemeConnor Lane Smith
2011-10-25apply nmaster patchConnor Lane Smith
2010-05-27applied Sylvain Laurent's EWMH fullscreen state patch, simplified his patch ↵anselm@garbe.us
a bit
2009-09-15applied Tony Lainson's config.def.h patchAnselm R Garbe
2009-07-09extended rule to apply monitors if set up accordinglyAnselm R Garbe
2009-07-09removed monsyms, uselessAnselm R Garbe
2009-07-09restricting number of mons by length of monsymsAnselm R Garbe
2009-07-08introducing const where it might make some senseAnselm R Garbe
2009-07-02changed focusmon/tagmon to work on prev/next instead (-1/+1), changed ↵Anselm R Garbe
shortcuts to Mod1-, Mod1-. and Mod1-Shift-, Mod1-Shift-.
2009-07-02more sensibleAnselm R Garbe
2009-07-02hmm, can't decide on the default monitor symbol setAnselm R Garbe
2009-07-02updateAnselm R Garbe
2009-07-02introduced monitor symbolsAnselm R Garbe
2009-07-01several bugfixesAnselm R Garbe
2009-06-30several simplificationsAnselm R Garbe
2009-06-20we need a tagset per monitor, removed tagset declaration from config.hAnselm R Garbe
2009-06-20experimental xinerama support, two new actions, Mod1-w/e and Mod1-Shift-w/eAnselm R Garbe
2009-05-29removed MAXTAGLENAnselm R Garbe
2009-03-17applied Gottox' patches, and also removed usegrabAnselm R Garbe
2008-12-12applied Neale Pickett's xprop status reading patch, updated README and dwm.1 ↵a@null
accordingly
2008-10-19several changes towards 5.3, XINERAMA is disabled by default, introduced ↵Anselm R Garbe
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
2008-08-27introduced NOBORDER macro to hide the nasty - 2 * c->bw in various ↵Anselm R Garbe
calculations, moved tagset to config.def.h
2008-08-18added a comment about FAQ regarding mfact meaningAnselm R Garbe
2008-08-02made readin a config.h variableAnselm R Garbe
2008-07-18make hg tip compilable with default configPremysl Hruby
2008-07-16got rid of compile time xidx configuration, querying mouse pointer insteadAnselm R Garbe
2008-07-02removed useless commentAnselm R Garbe
2008-06-24removed useless charactersAnselm R Garbe
2008-06-20applied Gottox' ClkTagBar patchAnselm R Garbe
2008-06-19untested monocleAnselm R Garbe
2008-06-17branch mergeAnselm R Garbe