Commit Graph

382 Commits

Author SHA1 Message Date
bakkeby
f4258747be Swallow + noborder compatibility changes ref. #430 2024-07-14 14:27:11 +02:00
bakkeby
f67b8be209 status2d: make sure to terminate the copied text with a NULL character 2024-07-12 19:22:24 +02:00
bakkeby
df75e113a9 launcher + status2d: correct spacing to be the same as when not using status2d 2024-07-12 16:28:46 +02:00
bakkeby
b4b19e3a4c Adding launcher patch 2024-07-11 22:38:58 +02:00
bakkeby
8d754cd644 systray + xrdb compatibility issue ref. #429
When changing colour scheme during runtime using xrdb the systray and
icons would keep the original colours.

To work around that the systray icon windows need to be redrawn after
changing the background pixel value. Just calling XClearWindow for
each systray window results in the systray icons disappearing, they
do not automatically redraw. The solution is apparently to send an
Expose event to each window which should in principle trigger a redraw
from the application side.

One way to achieve this is to move the window out of the drawable area.
When the window is then brought back into view the X server will send
the Expose event for the window. The "easiest" way to do this is to
move the entire systray window out of view as part of the xrdb call.

It is possible to do this in the draw_systray function itself, but we
probably do not want to do this every single time the bar is drawn and
it may also cause some noticeable flickering.

This issue is isolated to using the systray without the alpha patch.
2024-07-01 09:53:43 +02:00
bakkeby
79404e419f Fix for dwm crashing following unmapping of systray window that had been moved to another monitor ref. #423 2024-05-02 22:08:16 +02:00
bakkeby
82c3366317 tagpreview: proposed change to force hide preview window when changing tags ref. #415 2024-03-27 09:04:55 +01:00
Utkarsh Verma
58b58dc44e
Add PERMON_VANITYGAPS_PATCH (#343) 2024-03-14 09:38:21 +01:00
bakkeby
5e85bc8b5c tab + alttab compatibility fix (conflicting function name drawtab) 2024-02-01 21:29:25 +01:00
bakkeby
01244cc1b9 Adding placedir patch ref. #407 2024-01-31 22:38:41 +01:00
bakkeby
03ede82d5c focusmaster: adding restack to address stack issues when using monocle or deck layouts ref. #398 2023-11-13 21:20:37 +01:00
bakkeby
817db8c3ca Adding focusmaster-return patch variant ref. #398 2023-11-12 09:41:31 +01:00
Songli Yu
d86ea2de25
Fix patch compatibility issue in the resizemousescroll function of TAPRESIZE_PATCH. (#393) 2023-11-08 21:34:43 +01:00
bakkeby
ad9664fa01 shift: skip sticky clients when working out which tags are occupied ref. #387 2023-11-08 21:09:27 +01:00
Songli Yu
4a22fd046c
Fix when only one client in a tag and click it to hide it, then click it one more time, the client will not show as expected. (#385) 2023-11-05 22:07:43 +01:00
bakkeby
83a047aca7 shift: filter out scratchpad tags ref. #382 2023-11-04 21:38:38 +01:00
bakkeby
1b5a58f231 Fix space before tab in indent 2023-10-20 10:53:10 +02:00
bakkeby
dd1660b1ed renamed scratchpads: auto-unhide a minimised (icon state) scratchpad when toggled 2023-10-02 09:51:34 +02:00
bakkeby
ddb2e833a4 tagpreview: adding compatibility with powerline tags and taglabels 2023-10-01 21:07:58 +02:00
bakkeby
ab7d28ff0f bar border - allow for the border size to be explicitly set ref. #364 2023-06-27 16:31:02 +02:00
bakkeby
99f6f1b52c Adding focusfollowmouse patch ref. #364 2023-06-27 16:07:57 +02:00
bakkeby
1a1ce47917 layoutmenu: fixing warning from original patch 2023-06-27 14:59:48 +02:00
bakkeby
10a6640732 Adding the toggletopbar patch ref. #363 2023-06-25 22:52:50 +02:00
bakkeby
eca757eeea pertag + vanitygaps: store signed ints rather than unsigned in case negative gap values are used 2023-05-14 22:28:15 +02:00
bakkeby
5fefbfee64 cool autostart: restore SIGCHLD sighandler to default before spawning a program 2023-04-09 22:08:41 +02:00
speedie1337
e206d65f1e
Add swallow/window icon compatibility (#336)
* Add swallow/window icon compatibility. Without this, after a client is
swallowed the old icon (usually from the terminal emulator) is
preserved. This is noticeable if you, say run `mpv` from a terminal
emulator which is a common use case.

---------

Co-authored-by: speedie <speedie@duck.com>
2023-02-03 20:04:00 +00:00
bakkeby
f713ddee39 cyclelayouts: reimplementing patch to not require the NULL layout, addresses #331 2023-01-29 22:13:50 +01:00
bakkeby
40e2cac4e9 pertag: simplifying implementation by removing prevtag 2023-01-18 21:18:14 +01:00
bakkeby
668e18fddf seamless restart: Fix positioning of hidden scratchpad windows following restart ref. #315 2022-12-14 17:56:50 +01:00
bakkeby
dc4e535b25 tagpreview: make sure that tagwin is created following configure notify requests ref. #308 2022-11-15 10:31:15 +01:00
bakkeby
e6a74ad3ea roundedcorners: moving drawroundedcorners logic to resizeclient ref. #304 2022-10-16 21:32:01 +02:00
bakkeby
b732821f7b alttab: fixing crash when clients are on other tags 2022-10-13 12:34:09 +02:00
bakkeby
cc58ad2ef4 Adding alt-tab patch ref. #303 2022-10-08 22:35:04 +02:00
bakkeby
b93a5de558 Expose showhideclient to external tools (fsignal, IPC) ref #287 2022-08-13 16:24:55 +02:00
bakkeby
c438eabdc2 Adding nametag patch 2022-08-12 13:47:25 +02:00
bakkeby
d6205e3e89 autostart: upgrading to dwm-autostart-20210120-cb3f58a.diff 2022-08-07 10:50:25 +02:00
bakkeby
2e496ed931 dwmc: adding string support ref. #284 2022-08-01 10:37:19 +02:00
bakkeby
d9f79bea73 Bump to 9bffa84: use named parameter for func prototype
Ref. https://git.suckless.org/dwm/commit/9bffa845faa181fb3afe05f3dc86ad79c80736be.html
2022-07-28 11:29:50 +02:00
Stein Gunnar Bakkeby
5f7df0b0dc
Adding tagpreview patch (#271) 2022-07-05 14:55:42 +02:00
bakkeby
20692bea01 Refactoring shift functions ref. #270 2022-07-05 13:51:27 +02:00
bakkeby
197c218304 Adding shiftswaptags patch ref. #270 2022-07-04 13:56:39 +02:00
bakkeby
d3ab291944 Adding shiftboth patch ref. #270 2022-07-04 13:45:06 +02:00
bakkeby
279c571986 Adding shifttagclients patch ref. #270 2022-07-04 13:07:36 +02:00
bakkeby
a15a259926 Adding shifttag patch ref. #270 2022-07-04 11:28:23 +02:00
bakkeby
404401622b systray: hide systray when there are no systray icons to show ref. #268 2022-06-27 11:07:26 +02:00
bakkeby
2f70c42aab Adding renamed scratchpads patch 2022-06-20 14:00:09 +02:00
bakkeby
d7456b235a systray: removing redundant getatomprop declaration in bar_systray.h, ref. #260 2022-06-18 11:04:03 +02:00
bakkeby
39fde74dfd systray: allow systray icons to survive a restart by handing systray icons over to the root window before destroying the systray window 2022-06-17 16:58:47 +02:00
bakkeby
440c4a6efa Porting the seamless restart feature from dusk into dwm-flexipatch 2022-06-17 14:36:20 +02:00
Bakkeby
54070d7e51 vanitygaps + pertag: enablegaps should be retrieved from the current monitor, not the selected monitor ref. #258 2022-06-10 13:25:21 +02:00