aboutsummaryrefslogtreecommitdiff
path: root/dwm.c
Commit message (Collapse)AuthorAgeFilesLines
* revert 712d6639ff8e863560328131bbb92b248dc9cde7Luke Smith2023-02-281-9/+11
|
* Bump to 6.4iStagnant2023-02-241-85/+89
|
* preserveonrestartLuke Smith2022-11-021-1/+37
|
* fix swallow flicker, close #210Luke Smith2022-10-181-1/+1
|
* return of xrdb patch to F5Luke Smith2022-07-081-0/+61
|
* Unset fullscreen on current window when new window is openedfrei-0xff2022-01-211-0/+2
|
* Fix small edge casesEthan Marshall2021-12-051-2/+7
| | | | | Fix case where only windows available are sticky Fix case where stack is empty sometimes segfaulting
* Initial fix for sticky switchingEthan Marshall2021-12-051-1/+1
|
* always centerLuke Smith2021-03-121-0/+2
|
* Dwm did not redraw borders when swallowing so it messed up swallowing when ↵JimKat-12020-12-281-0/+12
| | | | in fullscreen
* rm xrdb patch to xresources to load non-color varsLuke Smith2020-11-071-64/+72
|
* Merge pull request #74 from aajonusonline/patch-1Luke Smith2020-08-271-4/+11
|\ | | | | swallow patch: add FreeBSD support
| * swallow patch: add FreeBSD supportaajonusonline2020-05-181-4/+11
| | | | | | | | patch from this commit: https://github.com/deadpixi/deadpixi-dwm/commit/42a798c34b4a4182599fc09f661c3b826a77bd54
* | dwmblocks doesn't receive signals on OpenBSD, OpenBSD doesn't implement ↵skeletal7382020-08-091-1/+7
| | | | | | | | sigqueue. Got rid of these.
* | 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.
* | Fix crashes when stack is emptyMateuszOkulus2020-05-121-2/+2
| |
* | 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-051-0/+2
|/ /
* | swallow patch: fix ignoring of noswallow in configAajonus Online2020-05-051-0/+1
| |
* | use blueLuke Smith2020-05-021-2/+2
| |
* | causes fewer problemsLuke Smith2020-05-021-1/+1
| |
* | expandible scratchpad patchLuke Smith2020-04-261-2/+41
| | | | | | | | | | | | super+shift+return for dropdown terminal super+' for dropdown calculator
* | old scratchpad patch removedLuke Smith2020-04-261-34/+0
| |
* | don't necessarily restart dwmblocksLuke Smith2020-04-261-1/+1
| |
* | swallow patchLuke Smith2020-04-141-5/+185
| |
* | Merge branch 'master' of https://github.com/kronikpillow/dwm into ↵Luke Smith2020-04-141-10/+10
|\ \ | | | | | | | | | kronikpillow-master
| * | updated vanitygaps with latest fixes from original authorKronikPillow2020-04-141-10/+10
| | |
* | | dwmc removedLuke Smith2020-04-141-51/+1
|/ /
* | suppress if no dwmblocks to killLuke Smith2020-04-131-1/+1
| |
* | removing barpadding patchLuke Smith2020-04-131-16/+10
| |
* | vanitygaps patch/fix and new & reorganized layoutsLuke Smith2020-04-131-254/+16
| |
* | clickable statuscmd patch with dwmblocksLuke Smith2020-04-131-3/+70
| |
* | startup rmdLuke Smith2020-04-101-1/+0
| |
* | kill -HUP pid to restart, also mod+RLuke Smith2020-04-101-0/+22
| |
* | only show active tagsLuke Smith2020-04-091-8/+13
| |
* | start `startup` script if it existsLuke Smith2020-04-091-1/+2
| |
* | dwmblocks started by defaultLuke Smith2020-03-241-0/+7
| |
* | monocle mode totally removedLuke Smith2020-03-151-16/+0
| |
* | fixed titlebar not being updated - issue #16KronikPillow2020-01-301-3/+3
| |
* | stacker patch replaces movestackLuke Smith2019-12-181-19/+69
| |
* | load typical color namesLuke Smith2019-12-181-6/+6
| |
* | gaps added to windows and barLuke Smith2019-12-181-20/+156
| |
* | dwmc and personal config addedLuke Smith2019-12-181-1/+51
| |
* | fullscreen is always selectedLuke Smith2019-12-161-1/+1
| |