Commit Graph

219 Commits (91cb32c3edcc6d5049b6d0115309d75ecda547bb)

Author SHA1 Message Date
bakkeby 91cb32c3ed Bump to e0dee91.
sync code-style patch from libsl

Ref.
https://git.suckless.org/dwm/commit/e0dee911455cee739a5b05a994828f4a37a2764d.html
2 years ago
bakkeby 6a0e5b884e Bump to 5e76e7e.
code-style: simplify some checks

main change here is making the `zoom()` logic saner. the rest of the
changes are just small stuff which accumulated on my local branch.

pop() must not be called with NULL. and `zoom()` achieves this, but in a
very (unnecessarily) complicated way:

if c == NULL then nexttiled() will return NULL as well, so we enter this
branch:

	if (c == nexttiled(selmon->clients))

in here the !c check fails and the function returns before calling pop()

		if (!c || !(c = nexttiled(c->next)))
			return;

however, none of this was needed. we can simply return early if c was NULL.
Also `c` is set to `selmon->sel` so we can use `c` in the first check
instead which makes things shorter.

Ref.
https://git.suckless.org/dwm/commit/5e76e7e21da042c493c59235ca82d7275f20a7e4.html
2 years ago
bakkeby 10aa27171f Bump to 5b2e5e7.
spawn: reduce 2 lines, change fprintf() + perror() + exit() to die("... :")

when calling die and the last character of the string corresponds to
':', die() will call perror(). See util.c

Also change EXIT_SUCCESS to EXIT_FAILURE

Ref.
https://git.suckless.org/dwm/commit/5b2e5e7a4001479e4dc3e245f96e49f7ea0da658.html
2 years ago
bakkeby 4b20c92b4c Adding bidi patch ref. #285 2 years ago
bakkeby d9f79bea73 Bump to 9bffa84: use named parameter for func prototype
Ref. https://git.suckless.org/dwm/commit/9bffa845faa181fb3afe05f3dc86ad79c80736be.html
2 years ago
Stein Gunnar Bakkeby 5f7df0b0dc
Adding tagpreview patch (#271) 2 years ago
bakkeby 274602fa7a Updating readme to refer to shift-tools 2 years ago
bakkeby 2f70c42aab Adding renamed scratchpads patch 2 years ago
bakkeby 440c4a6efa Porting the seamless restart feature from dusk into dwm-flexipatch 2 years ago
bakkeby 2ecc15a2ef manage: Make sure c->isfixed is applied before floating checks
Commit 8806b6e23793 ("manage: propertynotify: Reduce cost of unused size
hints") mistakenly removed an early size hints update that's needed to
populate c->isfixed for floating checks at manage() time. This resulted
in fixed (size hint min dimensions == max dimensions) subset of windows
not floating when they should.

See https://lists.suckless.org/dev/2204/34730.html for discussion.

Ref.
https://git.suckless.org/dwm/commit/8b48e309735f5fe49d35f86e967f4b5dea2a2f2d.html
2 years ago
bakkeby b2fbf08d3c Update monitor positions also on removal
When monitors are removed, the coordinates of existing monitors may
change, if the removed monitors had smaller coordinates than the
remaining ones.

Remove special case handling so that the same update-if-necessary loop
is run also in the case when monitors are removed.

ref.
https://git.suckless.org/dwm/commit/d93ff48803f04f1363bf303af1d7e6ccc5cb8d3f.html#h0-0-21
2 years ago
bakkeby 93f9d97e84 Adding link to map of patches 2 years ago
bakkeby 8f93bb8931 manage: For isfloating/oldstate check/set, ensure trans client actually exists
In certain instances trans may be set to a window that doesn't actually
map to a client via wintoclient; in this case it doesn't make sense
to set isfloating/oldstate since trans is essentially invalid in that
case / correlates to the above condition check where trans is set /
XGetTransientForHint is called.

Ref.
https://git.suckless.org/dwm/commit/bece862a0fc4fc18ef9065b18cd28e2032d0d975.html
2 years ago
bakkeby 96820b2d51 tagsync: adding reference in README.md 2 years ago
bakkeby 065c17de4c Adding the isfreesize version of the sizehints patch ref. #229 2 years ago
bakkeby 0404e12dba bump version to 6.3 2 years ago
bakkeby a9078fdb4d Adding underlinetags patch ref. #199 3 years ago
bakkeby 63fed59d19 Adding taglabels patch ref. #199 3 years ago
bakkeby e68f434944 Add a statusallmons and staticstatus easily toggleable in patches.h ref. #188 3 years ago
bakkeby 22bbf1cb13 Adding alwayscenter patch ref. #182 3 years ago
bakkeby f8ae6714db Adding winicon patch 3 years ago
bakkeby 73a29521e4 Correcting short hash 3 years ago
bakkeby c968fd9aae Renaming VIEW_SAME_TAG_GIVES_PREVIOUS_TAG_PATCH to TOGGLETAG_PATCH 3 years ago
bakkeby 246f8f7260 Adding togglelayout patch 3 years ago
bakkeby 28c4d0eab2 Adding note about the Known Issues discussion category 3 years ago
bakkeby ef89eb7c71 nodmenu: updating link 3 years ago
bakkeby 23c76d13b5 vanitygaps: replaced smartgaps with smartgaps_fact, allowing gaps to be increased when there is only one client. 3 years ago
bakkeby 7efb64d685 Upgraded the dwmblocks patch for statuscmd which changes the signalling
mechanism from SIGUSR1 to SIGRTMIN which is likely to cause issues for
those that already have a working setup. A compatibility option has been
added which changes this back to SIGUSR1. Note that configuration was
also changed.

This was ref. reported issue #114.
3 years ago
bakkeby bd5f5608a3 Adding README changes for xkb patch 3 years ago
bakkeby 0c88a49e27 Adding distributetags patch 3 years ago
bakkeby 521f87af13 Adding proposed changes to have different gaps on a per tag basis ref. #106 3 years ago
bakkeby 647c5935b3 Adding tapresize notes to README.md 3 years ago
bakkeby 012d1f7639 Upgrading to 67d76b and removing alwaysfullscreen patch as it has been merged into mainstream dwm 6.2 3 years ago
bakkeby 72564eb394 Adding LG3D patch 3 years ago
bakkeby 0f9104285b Adding tab patch 3 years ago
bakkeby 7f256e2d3c riodraw: upgrading patch to include rio-spawning of windows 3 years ago
bakkeby 9fcfa8d6ce Adding focusdir patch 3 years ago
bakkeby 1d092253e3 Adding riodraw patch 3 years ago
bakkeby 0f28402305 Adding placemouse patch 3 years ago
matt 5fd83cb76b added the layoutmenu patch 3 years ago
bakkeby 45d05c6c48 Adding the _NET_CLIENT_LIST_STACKING patch 4 years ago
bakkeby c47f61387d mpdcontrol: fixing typo, mpd (music player daemon), not mdp 4 years ago
bakkeby 37c212ad55 Adding on_empty_keys patch ref. #51 4 years ago
bakkeby 8726ae0aa9 Adding _IS_FLOATING xproperty patch for floating windows ref. #50 4 years ago
Aaron Duxler da05d567a1 setborderpx fix link in changelog 4 years ago
bakkeby 00320fb842 Adding nomodbuttons patch 4 years ago
bakkeby d91db5cd65 anybar: adding experimental support for having both anybar + dwm bar(s) in play 4 years ago
bakkeby 8994f375e8 anybar: initial commit 4 years ago
bakkeby ff9811f73d Just some minor changes adding bar border patch ref. #41 4 years ago
bakkeby b3e6e3531b ipc: adding function/signal bindings 4 years ago