summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-10-25Remove const in configGustaf Rydholm
This fixes a compile bug that complained about fonts being const char * instead of char *
2024-01-11Update keymapsGustaf Rydholm
2023-07-11Update nerd symbols font styleGustaf Rydholm
2023-05-15Add floatterm to rulesGustaf Rydholm
2023-05-15Add keys for (u)mounterGustaf Rydholm
2023-05-14Add xf86 keys for volume controlGustaf Rydholm
2023-05-07Update rulesGustaf Rydholm
2023-05-07Fix fullscreen cmdGustaf Rydholm
2023-05-05Set centeredmaster to y layout shortcutGustaf Rydholm
2023-05-05Bump to 6.4Gustaf Rydholm
2023-04-30Remove newlinesGustaf Rydholm
2023-02-14Add keymap for screenshotGustaf Rydholm
2022-11-08Replace nerd joy with materialGustaf Rydholm
2022-11-07Update icons fontGustaf Rydholm
2022-11-05Add bookmarkGustaf Rydholm
2022-08-23Add slock keymapGustaf Rydholm
2022-01-17Set layouthandler to Mod | Ctrl + lGustaf Rydholm
2022-01-16Update shortcut for layouthandler, remove slockGustaf Rydholm
2022-01-16Add slock shortcutGustaf Rydholm
2022-01-15Update fontsGustaf Rydholm
2022-01-07Add kb layout shortcutGustaf Rydholm
2022-01-07Add newsboat shortcutGustaf Rydholm
2022-01-07Add neomutt shortcutGustaf Rydholm
2022-01-07Update file manager to lfGustaf Rydholm
2021-12-26FormatGustaf Rydholm
2021-12-26Update flagsGustaf Rydholm
2021-12-26Format, update colorschemeGustaf Rydholm
2021-08-30UpdatesGustaf Rydholm
2021-07-08Latest updateGustaf Rydholm
2021-05-15idkGustaf Rydholm
2021-05-15config.def.h and config.h has the same contentGustaf Rydholm
2021-05-15Copy of Christian Chiarulli's configGustaf Rydholm
2021-03-29Do not allow focus to drift from fullscreen client via focusstack()Chris Down
It generally doesn't make much sense to allow focusstack() to navigate away from the selected fullscreen client, as you can't even see which client you're selecting behind it. I have had this up for a while on the wiki as a separate patch[0], but it seems reasonable to avoid this behaviour in dwm mainline, since I'm struggling to think of any reason to navigate away from a fullscreen client other than a mistake. 0: https://dwm.suckless.org/patches/alwaysfullscreen/
2020-08-21Fix x coordinate calculation in buttonpress.Ian Remmler
2020-07-08dwm.1: fix wrong text in man pageHiltjo Posthuma
2020-06-11Fix memory leaks in drwAlex Flierl
The function drw_fontset_free in drw.c was never called.
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-03config.mk: fix POSIX_C_SOURCE macro for feature test for snprintf()Hiltjo Posthuma
The feature test was incorrect: _POSIX_C_SOURCE=2 "The value 2 or greater additionally exposes definitions for POSIX.2-1992." http://man7.org/linux/man-pages/man7/feature_test_macros.7.html A higher value is needed (atleast 1995): https://pubs.opengroup.org/onlinepubs/9699919799/functions/snprintf.html FreeBSD feature test macro: on https://github.com/freebsd/freebsd/blob/master/include/stdio.h line 297 This was already fixed in dmenu. This fixes a warning on FreeBSD, reported by Plasmoduck on IRC, thanks.
2019-02-02Prepare 6.2 release.Anselm R Garbe
2018-06-02pledge: add rpath promise for the ugly Xft font fallbackHiltjo Posthuma
2018-06-02Makefile: just show the compiler outputHiltjo Posthuma
Don't be fancy and just show the actual output so debugging is simpler.
2018-06-02Do not strip at link stageKlemens Nanni
Building with debug symbols is worthless unless LDFLAGS are manually adjusted as well.
2018-05-25Pledge on OpenBSDKlemens Nanni
2018-05-25config.def.h: ClkTagBar missing from commentHiltjo Posthuma
by Christopher Drelich <cd@cdrakka.com> Patch was mangled on the ML, also adjusted the order to be the same as the enum in dwm.c
2018-05-12Function declarations in correct order.Christopher Drelich
In dwm.c function declarations are in alphabetical order except for updategeom(). There doesn't appear to be any reason for this, so this patch corrects that, and now all function declarations are in alphabetical order.
2018-05-12remove old TODO and BUGS entriesHiltjo Posthuma
the bug in the dwm man page is an (ancient) Java issue. Thanks David and quinq for the patches and feedback!
2018-03-14update README: remove mentioning the old dextra repoHiltjo Posthuma
Thanks Christopher Drelich <cd@cdrakka.com>