summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-14All functions in alphabetical order except for this one.Christopher Drelich
2018-03-14ColBorder has been moved to the enum with ColFg and ColBg.Christopher Drelich
2017-12-27dont NUL terminate _NET_WM_NAMEHiltjo Posthuma
Reported by Kernc, thanks! "This makes a particular program that uses libwnck [1] fail after: Wnck-WARNING **: Property _NET_WM_NAME contained invalid UTF-8 in this code [2] because the returned string contains a '\0' and the documentation for g_utf8_validate() [3] explicitly states that when string length is provided, no nul bytes are allowed." It is not entirely clear it is incorrect, other WM's seem to not NUL terminate it either though.
2017-11-03sync dmenu drw.{c,h} code: use Clr* (was Scm)Hiltjo Posthuma
2017-11-03gettextprop: check result of XGetTextProperty (undefined behaviour for XFree)Hiltjo Posthuma
2017-11-03Set class name on status barOmar Sandoval
This is useful for configuring compositors to ignore the status bar window.
2017-10-11simplify isfixed conditionsDaniel Cousens
2017-05-08yet another cleanupAnselm R Garbe
The previous patches introduced some unclean space-based indentation patterns. This patch fixes them.
2017-03-28Don't restrict snap in mousemoveMarkus Teich
This also fixes a bug where client windows only switch to floating mode when the mouse is dragged in one specific direction.
2017-03-28Button passthrough when client is not focusedMarkus Teich
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.
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' tagset purge of alternative view on _NET_ACTIVE_WINDOW eventAnselm R Garbe
2016-12-05applied Ivan Delalande's NET_SUPPORTING_WM_CHECK patch for gtk3 compatibilityAnselm R Garbe
2016-12-05applied Ian Remmler's man page adjustment suggestionsAnselm R Garbe
2016-12-05applied Markus' decouple color-scheme patchAnselm R Garbe
2016-12-05applied Markus' clarify status text padding patchAnselm R Garbe
2016-11-15LICENSE: update peopleQuentin Rameau
2016-11-15dwm.1: add keybinding for spawning dmenuQuentin Rameau
2016-11-05die() on calloc failureHiltjo Posthuma
thanks Markus Teich and David!
2016-08-12die() consistency: always add newlineHiltjo Posthuma
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.
2016-06-24Configure geometry before applying rulesEric Pruitt
Configuring geometry before applying rules makes it possible to have more complex constraints in applyrules that depend on the initial window dimensions and location.
2015-12-19fix fullscreen clients not resized on X display resolution changeHiltjo Posthuma
patch provided by Bert Münnich <ber.t_AT_posteo.de>, thanks!
2015-12-19Shut up glibc about _BSD_SOURCE being deprecatedQuentin Rameau
2015-11-08code-style consistency6.1Hiltjo Posthuma
2015-11-08unboolificationHiltjo Posthuma
2015-11-08sort include + whitespace fixHiltjo 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-11-08Makefile: package all files with make distHiltjo Posthuma
2015-11-07setfullscreen: don't process the property twiceQuentin Rameau
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>)
2015-10-20sync updated drw code from dmenuHiltjo Posthuma
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().
2015-10-20dwm: use ecalloc, prevent theoretical overflowHiltjo Posthuma
2015-10-20cleanup, dont use c++ style commentsHiltjo Posthuma
- signal: print error string. - die: start message with lower-case (consistency). - bump version to 2015.
2015-10-20dwm: cleanup: free schemes and cursors as arrayHiltjo Posthuma
2015-10-20config.h: use common default font, pass Xft font name to dmenuHiltjo Posthuma
dmenu uses Xft now (soon to be released).
2015-10-20config.mk: add $FREETYPELIBS and $FREETYPEINC, simpler to override (ports ↵Hiltjo Posthuma
and *BSDs)
2015-03-13Add Xft and follback-fonts support to graphics libEric Pruitt
2014-11-23removed .hgtags, thanks Dimitris for spottingAnselm R Garbe
2014-08-11applied Hiltjo's resize/move limitationAnselm R Garbe
"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.
2014-05-29same as before with dwm.c as wellAnselm R Garbe
2014-05-29updated copyright notice in LICENSE fileAnselm R Garbe
2013-08-27applied Lukas' focus suggestion at startup, thanksAnselm R Garbe
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-06-23applied Jochen's drw_text patch, thanksAnselm R Garbe
2013-06-19applied Julian's enum approach,Anselm R Garbe
however renamed theme into scheme resp. Theme into ClrScheme
2013-06-16finished libsl/drw integrationAnselm R Garbe
2013-05-02include font argument for st by defaultAnselm R Garbe
2013-05-01added st to SEE ALSO sectionAnselm R Garbe