summaryrefslogtreecommitdiff
path: root/dwm.c
AgeCommit message (Collapse)Author
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 Markus' decouple color-scheme patchAnselm R Garbe
2016-12-05applied Markus' clarify status text padding patchAnselm R Garbe
2016-08-12die() consistency: always add newlineHiltjo 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-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-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-03-13Add Xft and follback-fonts support to graphics libEric Pruitt
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
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-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-04-17renamed draw into drwAnselm R Garbe
2012-12-08continued with draw.c abstraction, also started util.{h,c} implementation, ↵Anselm R Garbe
that will be used by draw.c as well
2012-11-18reverting the xkb dependency, I don't care if this function is deprecated, ↵anselm@garbe.us
it seems it breaks other stuff instead.
2012-11-18reverting to plain X11 fonts in order to implement draw.c defaultanselm@garbe.us
2012-11-17compile fixanselm@garbe.us
2012-11-17applied Neil Klopfstein's patch, slightly modifiedanselm@garbe.us
2012-11-17starting with initial draw.hanselm@garbe.us
2012-11-02incorporating Xft instead of cairo, cairo provides far too many optionsanselm@garbe.us
2012-07-08reverted to old updategeom() after several complains, we need to optimize ↵anselm@garbe.us
the old way
2012-06-23applied James Turner's XkbKeycodeToKeysym patch, thanksanselm@garbe.us
2012-06-23drastically changed updategeom() handling, see comment in updategeom() for ↵anselm@garbe.us
details
2012-06-23reversed Andreas Amann's fullscreen fix with the approach proposed by Gary ↵anselm@garbe.us
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
2012-04-15added kludge to fix some input focus misbehavior in gedit and anjuta, thanks ↵anselm@garbe.us
Martti Kühne
2012-03-25applied Andreas Amanns' netwm_client_list patch, but with some indentation fixesanselm@garbe.us
2012-03-25applied Andreas Amann's netwm_active_window patch, thxanselm@garbe.us
2012-03-17applied Andreas Amann fullscreen fix, some minor modificationsanselm@garbe.us
2012-02-10unfocus on slow sloppy monitor focusConnor Lane Smith
2012-02-08applied Eckehard Berns fix fix, sorry that this took so longanselm@garbe.us
2012-01-12applied Eckehard Berns barwin leak fix and his suggestion to deal with ↵anselm@garbe.us
restack() -- the latter aspect needs further investigation.
2011-11-15add sloppy monitor focusConnor Lane Smith
2011-11-06calculate window/monitor intersectionConnor Lane Smith
2011-11-06honour fullscreen hint on mapConnor Lane Smith
2011-11-04testing Brians multiscreen issue fixanselm@garbe.us