Commit Graph

381 Commits (3bc91e187cceee26d04ed9eb43c64676eecf3295)

Author SHA1 Message Date
bakkeby f67b8be209 status2d: make sure to terminate the copied text with a NULL character 2 months ago
bakkeby df75e113a9 launcher + status2d: correct spacing to be the same as when not using status2d 2 months ago
bakkeby b4b19e3a4c Adding launcher patch 2 months ago
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.
3 months ago
bakkeby 79404e419f Fix for dwm crashing following unmapping of systray window that had been moved to another monitor ref. #423 5 months ago
bakkeby 82c3366317 tagpreview: proposed change to force hide preview window when changing tags ref. #415 6 months ago
Utkarsh Verma 58b58dc44e
Add PERMON_VANITYGAPS_PATCH (#343) 6 months ago
bakkeby 5e85bc8b5c tab + alttab compatibility fix (conflicting function name drawtab) 8 months ago
bakkeby 01244cc1b9 Adding placedir patch ref. #407 8 months ago
bakkeby 03ede82d5c focusmaster: adding restack to address stack issues when using monocle or deck layouts ref. #398 10 months ago
bakkeby 817db8c3ca Adding focusmaster-return patch variant ref. #398 10 months ago
Songli Yu d86ea2de25
Fix patch compatibility issue in the resizemousescroll function of TAPRESIZE_PATCH. (#393) 11 months ago
bakkeby ad9664fa01 shift: skip sticky clients when working out which tags are occupied ref. #387 11 months ago
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) 11 months ago
bakkeby 83a047aca7 shift: filter out scratchpad tags ref. #382 11 months ago
bakkeby 1b5a58f231 Fix space before tab in indent 11 months ago
bakkeby dd1660b1ed renamed scratchpads: auto-unhide a minimised (icon state) scratchpad when toggled 12 months ago
bakkeby ddb2e833a4 tagpreview: adding compatibility with powerline tags and taglabels 12 months ago
bakkeby ab7d28ff0f bar border - allow for the border size to be explicitly set ref. #364 1 year ago
bakkeby 99f6f1b52c Adding focusfollowmouse patch ref. #364 1 year ago
bakkeby 1a1ce47917 layoutmenu: fixing warning from original patch 1 year ago
bakkeby 10a6640732 Adding the toggletopbar patch ref. #363 1 year ago
bakkeby eca757eeea pertag + vanitygaps: store signed ints rather than unsigned in case negative gap values are used 1 year ago
bakkeby 5fefbfee64 cool autostart: restore SIGCHLD sighandler to default before spawning a program 1 year ago
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>
2 years ago
bakkeby f713ddee39 cyclelayouts: reimplementing patch to not require the NULL layout, addresses #331 2 years ago
bakkeby 40e2cac4e9 pertag: simplifying implementation by removing prevtag 2 years ago
bakkeby 668e18fddf seamless restart: Fix positioning of hidden scratchpad windows following restart ref. #315 2 years ago
bakkeby dc4e535b25 tagpreview: make sure that tagwin is created following configure notify requests ref. #308 2 years ago
bakkeby e6a74ad3ea roundedcorners: moving drawroundedcorners logic to resizeclient ref. #304 2 years ago
bakkeby b732821f7b alttab: fixing crash when clients are on other tags 2 years ago
bakkeby cc58ad2ef4 Adding alt-tab patch ref. #303 2 years ago
bakkeby b93a5de558 Expose showhideclient to external tools (fsignal, IPC) ref #287 2 years ago
bakkeby c438eabdc2 Adding nametag patch 2 years ago
bakkeby d6205e3e89 autostart: upgrading to dwm-autostart-20210120-cb3f58a.diff 2 years ago
bakkeby 2e496ed931 dwmc: adding string support ref. #284 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 20692bea01 Refactoring shift functions ref. #270 2 years ago
bakkeby 197c218304 Adding shiftswaptags patch ref. #270 2 years ago
bakkeby d3ab291944 Adding shiftboth patch ref. #270 2 years ago
bakkeby 279c571986 Adding shifttagclients patch ref. #270 2 years ago
bakkeby a15a259926 Adding shifttag patch ref. #270 2 years ago
bakkeby 404401622b systray: hide systray when there are no systray icons to show ref. #268 2 years ago
bakkeby 2f70c42aab Adding renamed scratchpads patch 2 years ago
bakkeby d7456b235a systray: removing redundant getatomprop declaration in bar_systray.h, ref. #260 2 years ago
bakkeby 39fde74dfd systray: allow systray icons to survive a restart by handing systray icons over to the root window before destroying the systray window 2 years ago
bakkeby 440c4a6efa Porting the seamless restart feature from dusk into dwm-flexipatch 2 years ago
Bakkeby 54070d7e51 vanitygaps + pertag: enablegaps should be retrieved from the current monitor, not the selected monitor ref. #258 2 years ago
Bakkeby c553f93b52 shiftview + scrachpads compatibility 2 years ago