summaryrefslogtreecommitdiff
path: root/dwm.c
AgeCommit message (Collapse)Author
2022-01-21Unset fullscreen on current window when new window is openedfrei-0xff
2021-12-05Fix small edge casesEthan Marshall
Fix case where only windows available are sticky Fix case where stack is empty sometimes segfaulting
2021-12-05Initial fix for sticky switchingEthan Marshall
2021-03-12always centerLuke Smith
2020-12-28Dwm did not redraw borders when swallowing so it messed up swallowing when ↵JimKat-1
in fullscreen
2020-11-07rm xrdb patch to xresources to load non-color varsLuke Smith
2020-08-27Merge pull request #74 from aajonusonline/patch-1Luke Smith
swallow patch: add FreeBSD support
2020-08-09dwmblocks doesn't receive signals on OpenBSD, OpenBSD doesn't implement ↵skeletal738
sigqueue. Got rid of these.
2020-05-19Merge branch 'master' of git://git.suckless.org/dwmLuke Smith
2020-05-18swallow patch: add FreeBSD supportaajonusonline
patch from this commit: https://github.com/deadpixi/deadpixi-dwm/commit/42a798c34b4a4182599fc09f661c3b826a77bd54
2020-05-12Fix crashes when stack is emptyMateuszOkulus
2020-05-05Merge pull request #57 from aajonusonline/masterLuke Smith
swallow patch: unfullscreen client and reset focus
2020-05-05don't swallow if window floatsLuke Smith
2020-05-05fixes previous patchAajonus Online
2020-05-05swallow patch: unfullscreen client and reset focusAajonus Online
2020-05-05swallow patch: fix ignoring of noswallow in configAajonus Online
2020-05-02use blueLuke Smith
2020-05-02causes fewer problemsLuke Smith
2020-04-26expandible scratchpad patchLuke Smith
super+shift+return for dropdown terminal super+' for dropdown calculator
2020-04-26old scratchpad patch removedLuke Smith
2020-04-26don't necessarily restart dwmblocksLuke Smith
2020-04-25dwm crashes when opening 50+ clients (tile layout)bakkeby
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.
2020-04-22drawbar: Don't shadow sw globalChris Down
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.
2020-04-22getatomprop: Add forward declarationChris Down
No functional changes, but for every other function we have a forward declaration here. getatomprop should be no exception.
2020-04-20setmfact: Unify bounds for compile-time and runtime mfactChris Down
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.
2020-04-14swallow patchLuke Smith
2020-04-14Merge branch 'master' of https://github.com/kronikpillow/dwm into ↵Luke Smith
kronikpillow-master
2020-04-14dwmc removedLuke Smith
2020-04-14updated vanitygaps with latest fixes from original authorKronikPillow
2020-04-13suppress if no dwmblocks to killLuke Smith
2020-04-13removing barpadding patchLuke Smith
2020-04-13vanitygaps patch/fix and new & reorganized layoutsLuke Smith
2020-04-13clickable statuscmd patch with dwmblocksLuke Smith
2020-04-10startup rmdLuke Smith
2020-04-10kill -HUP pid to restart, also mod+RLuke Smith
2020-04-09only show active tagsLuke Smith
2020-04-09start `startup` script if it existsLuke Smith
2020-03-24dwmblocks started by defaultLuke Smith
2020-03-15monocle mode totally removedLuke Smith
2020-01-30fixed titlebar not being updated - issue #16KronikPillow
2019-12-18stacker patch replaces movestackLuke Smith
2019-12-18load typical color namesLuke Smith
2019-12-18gaps added to windows and barLuke Smith
2019-12-18dwmc and personal config addedLuke Smith
2019-12-16fullscreen is always selectedLuke Smith
2019-12-14sticky patchLuke Smith
2019-12-14true fullscreen patchLuke Smith
2019-12-14centered master patchLuke Smith
2019-12-14scratchpadLuke Smith
2019-12-14xrdb patchLuke Smith