Commit Graph

179 Commits (d85dc0404f5542b4d9800e2db91df7a577b7f6f2)

Author SHA1 Message Date
bakkeby 68d9a1d7cc status2d: set the correct scheme before updating colours 4 years ago
bakkeby 2cf37aa492 status2d: rawstext may not exist if neither statuscmd nor the extrabar patch is used 4 years ago
bakkeby 56ad78e7d2 Adding link to flextile-deluxe wiki page 4 years ago
bakkeby d7a7ac67ee barmodules: removing tags padding 4 years ago
bakkeby 2065014161 BAR_TITLE_RIGHT_PAD --> BAR_TITLE_RIGHT_PAD_PATCH 4 years ago
bakkeby d0c077a102 Removing unnecessary .h file 4 years ago
bakkeby 023aa218e4 Adding powerline patch 4 years ago
bakkeby 23c0e9450f hidevacanttags: width and buttonpress fix 4 years ago
bakkeby 6961418d63 Extrabar --> extrastatus 4 years ago
bakkeby 250fbbd2c7 holdbar: changes for new bar 4 years ago
bakkeby 664484d572 Refinement 4 years ago
bakkeby ad09397ad9 status2d: hide click_status2d if dwmblocks is used 4 years ago
bakkeby 06c4122e07 Movestack can cause dwm to crash if there are no selections on the monitor 4 years ago
bakkeby e780c5078f taggrid: fix for invalid highlighting for the last tag when columns have an uneven number of clients 4 years ago
bakkeby aa70728d00 Adding BarWidthArg, BarDrawArg, BarClickArg to keep the method signatures static 4 years ago
bakkeby f2da4d20d9 Further bar renaming 4 years ago
bakkeby 903b32ac8b Major refactoring in preparation for bar modules 4 years ago
bakkeby 1584a32063 flextile deluxe: fixed dual stack bug 4 years ago
bakkeby ccb275b984 Extrabar alignment, buttonclicks and other improvements 4 years ago
bakkeby ab488abc11 Extrabar compatibility improvements 4 years ago
bakkeby f58c699dbb Fix for dwm randomly crashing when the first systray application starts
The crash error was:

dwm: fatal error: request code=12, error code=11
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  12 (X_ConfigureWindow)
  Serial number of failed request:  3333
  Current serial number in output stream:  3338

This was backtracked to function updatesystray where XConfigureWindow was
called with large negative X positions (e.g. -836585). The large number
coming from the width of the systray icon.

w += i->w;

The systray icon width is set through the updatesystrayicongeom function
and this is called by resizerequest, clientmessage and propertynotify.

The height and width would appear to come from the X window attributes and
sometimes have random values (e.g. height 32708 and width 1369918222).

updatesystrayicongeom restricts the height of the icon to that of the bar,
but did not have any restictions on the icon width. This fix limits the
icon width to that of the bar height if it is greater than twice the bar
height, leaving room for systray icons that are slightly wider than they
are tall.
4 years ago
bakkeby 8120e0b858 Fixed a dwmblocks / statuscmd / systray compatibility issue where button clicks would be misaligned if systray pinning is used and systray is on another monitor 4 years ago
bakkeby 8c07458f11 holdbar: toggle bar improvements 4 years ago
bakkeby 347e6ace91 dragmfact: Tweaks for fixed horizontal split 4 years ago
bakkeby c14a51524b Adding cursor icons for resizecorners, resizepoint, dragmfact and dragcfact 4 years ago
bakkeby af30c7a735 floatpos: allow controls in floating mode 4 years ago
bakkeby 9ae251791d floatpos: correction 4 years ago
bakkeby 6c2d1518ab floatpos: refactoring 4 years ago
bakkeby aecfff3a00 floatpos: correcting defaults 4 years ago
bakkeby 6a683c729e Adding floatpos patch. 4 years ago
bakkeby 8645b2ce35 Minor style correction 4 years ago
bakkeby 62cca4897b Tidy following tagothermonitor merge 4 years ago
matt 6aca089661 Adding tagothermonitor patch 4 years ago
bakkeby 5e0a9c49f8 Adding sizehints patch 4 years ago
bakkeby f315188728 Autostart: Make autostart conform to XDG Base Directory specification (upgrade) 4 years ago
bakkeby 8c4eaccf16 Adding pango patch (ref. #10)
Text from original patch:

Using pango markup for status text

Use a single font. Removed some code utf8 code from drw.
Created for pango 1.44. Older versions might not have getter
for font height, ascent + descent can be used instead.
All texts are rendered with pango but only status is with
markup. Increased stext size (in case a lot of markup is used).
MIN/MAX is already defined (didn't redefine them).
4 years ago
bakkeby 45247a14bc Fix infinite loop in attachbelow patch 4 years ago
bakkeby a713e73a37 shiftviewclients: compatibility changes for scratchpads and scratchpad_alt_1 patches 4 years ago
bakkeby 6321b52a30 Renamed SCRATCHPAD_PATCH --> SCRATCHPADS_PATCH to match the naming of the suckless patches as the multiple scratchpads patch has its own location now 4 years ago
bakkeby 09a5fc9097 scratchpad_alt: Style change 4 years ago
bakkeby bad53d2cc4 Upgrading Gaspar Vardanyan's scratchpad patch to the 20200510 version.
https://github.com/GasparVardanyan/dwm-scratchpad/blob/master/dwm-scratchpad-20200510-f09418b.diff
4 years ago
bakkeby fbb1537da6 Removing debug line 4 years ago
bakkeby d7814e3a3e dwmc: Adding external control to set gaps 4 years ago
bakkeby 2b332f7199 Expanding Xresources options to include the warn colours in relation to the statuscolors patch 4 years ago
Stein Gunnar Bakkeby 8c419b0d7a Expanding on dwmc options 4 years ago
bakkeby 4db0cd6443 An idea to remember to add keymodes patch files 4 years ago
bakkeby af96d4c358 Adding keymodes patch 4 years ago
bakkeby e7ea06a0c2 status2d: Minor protection against crashes due to invalid x and y values 4 years ago
bakkeby 2e30bddc16 Fixing status2d and statuscmd / dwmblocks compatibility issues.
Text width calculations when using status2d strings resulted in
statuscmd button placement calculations to be way off. Fixed by
introducing a separate function status2dtextlength to get an
approximate correct text width.
4 years ago
bakkeby e79aec52c2 Adding status2d patch 4 years ago