aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* snippetsLuke Smith2020-06-071-1/+1
|
* ui fixLuke Smith2020-06-021-3/+1
|
* funding file for github sponsorsLuke Smith2020-06-021-0/+5
|
* Merge branch 'master' of git://git.suckless.org/dwmLuke Smith2020-05-191-5/+6
|\
| * dwm crashes when opening 50+ clients (tile layout)bakkeby2020-04-251-2/+4
| | | | | | | | | | | | | | | | Many users new to dwm find themselves caught out by being kicked out to the login manager (dwm crashing) when they open 50+ clients for demonstration purposes. The number of clients reported varies depending on the resolution of the monitor. The cause of this is due to how the default tile layout calculates the height of the next client based on the position of the previous client. Because clients have a minimum size the (ty) position can exceed that of the window height, resulting in (m->wh - ty) becoming negative. The negative height stored as an unsigned int results in a very large height ultimately resulting in dwm crashing. This patch adds safeguards to prevent the ty and my positions from exceeding that of the window height.
| * drawbar: Don't shadow sw globalChris Down2020-04-221-4/+4
| | | | | | | | | | | | | | This jarred me a bit while reading the code, since "sw" usually refers to the global screen geometry, but in drawbar() only it refers to text-related geometry. Renaming it makes it more obvious that these are not related.
| * getatomprop: Add forward declarationChris Down2020-04-221-0/+1
| | | | | | | | | | No functional changes, but for every other function we have a forward declaration here. getatomprop should be no exception.
| * setmfact: Unify bounds for compile-time and runtime mfactChris Down2020-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two places that mfact can be set: - In the mfact global, which is defined at compile time and passed into m->mfact during monitor setup. No bounds checks are performed, but the comment alongside it says that valid values are [0.05..0.95]: static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ - By setmfact, which adjusts m->mfact at runtime. It also does some minimum and maximum bounds checks, allowing [0.1..0.9]. Values outside of that range are ignored, and mfact is not adjusted. These different thresholds mean that one cannot setmfact 0.95 or 0.05, despite the comment above that lists the legal range for mfact. Clarify this by enforcing the same bounds in setmfact at runtime as those listed for mfact at compile time.
* | Merge pull request #68 from vladdoster/patch-1Luke Smith2020-05-162-17/+17
|\ \ | | | | | | formatting
| * | add relative linkVlad Doster2020-05-151-1/+1
| | |
| * | Update config.hVlad Doster2020-05-151-8/+8
| | |
| * | Update config.hVlad Doster2020-05-151-7/+7
| | |
| * | formattingVlad Doster2020-05-151-1/+1
|/ /
* | Merge pull request #66 from mokulus/stack-fixLuke Smith2020-05-121-2/+2
|\ \ | | | | | | Fix crashes when stack is empty
| * | Fix crashes when stack is emptyMateuszOkulus2020-05-121-2/+2
|/ /
* | Merge pull request #64 from cm-mcl/masterLuke Smith2020-05-111-1/+1
|\ \ | | | | | | Update dwm.1
| * | Update dwm.1cm-mcl2020-05-111-1/+1
|/ / | | | | Fix typo on line 32
* | borders red and non-transparentLuke Smith2020-05-082-1/+3
| |
* | v to move to masterLuke Smith2020-05-082-3/+4
| |
* | can shift click modules,Luke Smith2020-05-071-0/+2
| | | | | | | | shift right click opens config
* | commenting unused funcs to avoid build warningsLuke Smith2020-05-061-71/+71
| |
* | move only by one minuteLuke Smith2020-05-062-5/+5
| |
* | that was removedLuke Smith2020-05-061-2/+0
| |
* | Merge pull request #57 from aajonusonline/masterLuke Smith2020-05-051-2/+5
|\ \ | | | | | | swallow patch: unfullscreen client and reset focus
| * | fixes previous patchAajonus Online2020-05-051-1/+1
| | |
| * | swallow patch: unfullscreen client and reset focusAajonus Online2020-05-051-1/+4
| | |
* | | don't swallow if window floatsLuke Smith2020-05-052-0/+3
| | |
* | | xev doesn't swallowLuke Smith2020-05-051-0/+1
| | |
* | | begin man udpatesLuke Smith2020-05-051-14/+14
| | |
* | | Merge pull request #56 from aajonusonline/masterLuke Smith2020-05-051-0/+1
|\| | | | | | | | swallow patch: fix ignoring of noswallow in config
| * | swallow patch: fix ignoring of noswallow in configAajonus Online2020-05-051-0/+1
|/ /
* | super+shift+g/; to send to prev/next windowLuke Smith2020-05-033-6/+38
| | | | | | | | i'll merge the functions later maybe lol
* | I think that for the left-hand binds, it's best toLuke Smith2020-05-032-14/+16
| | | | | | | | | | | | | | spread out binds and not use shift. For right-handed people, most of which prefer right shift, it is much easier to mod+shift with the right hand than left.
* | dwm.png rm'd, me added to licLuke Smith2020-05-033-1/+2
| |
* | use blueLuke Smith2020-05-021-2/+2
| |
* | causes fewer problemsLuke Smith2020-05-021-1/+1
| |
* | expandible scratchpad patchLuke Smith2020-04-263-6/+60
| | | | | | | | | | | | super+shift+return for dropdown terminal super+' for dropdown calculator
* | super+shift+q runs sysactLuke Smith2020-04-261-1/+1
| |
* | old scratchpad patch removedLuke Smith2020-04-262-37/+1
| |
* | Merge branch 'stuff'Luke Smith2020-04-264-38/+60
|\ \
| * \ Merge branch 'master' of github.com:LukeSmithxyz/dwm into HEADLuke Smith2020-04-260-0/+0
| |\ \
| | * | Merge pull request #42 from AlexSyssoyev/patch-1Luke Smith2020-04-251-1/+1
| |/| | |/| | | | | | | Change bg address on xcompmgr toggle
| | * | Change bg address on xcompmgr toggleAlexei Syssoyev2020-04-251-1/+1
| |/ / |/| |
| * | don't necessarily restart dwmblocksLuke Smith2020-04-261-1/+1
| | |
| * | gitignoreLuke Smith2020-04-261-0/+5
| | |
| * | big binds changeLuke Smith2020-04-262-37/+54
|/ /
* | Merge pull request #36 from jlaw/patch-1Luke Smith2020-04-171-1/+1
|\ \ | | | | | | fix: Typo; -sb assigned the wrong color
| * | fix: Typo; -sb assigned the wrong colorJackson Law2020-04-171-1/+1
|/ /
* | readme updatesLuke Smith2020-04-141-11/+14
| |
* | old junk rmdLuke Smith2020-04-141-40/+0
| |