Commit Graph

260 Commits (474c91ea0c300f785821598a7c8e3252708cacbd)
 

Author SHA1 Message Date
bakkeby 474c91ea0c dwm.1: fix wrong text in man page (aaad5f) 4 years ago
bakkeby fbaa215a14 staticstatus + extrabar: Allow extrabar to be static on a monitor other than that of the main staticstatus monitor 4 years ago
bakkeby ccb275b984 Extrabar alignment, buttonclicks and other improvements 4 years ago
bakkeby 8df311b827 Extrabar compatibility improvements 4 years ago
bakkeby ab488abc11 Extrabar compatibility improvements 4 years ago
bakkeby 5478f99c3b extrabar compatibility updates
+ only shows on a given monitor if staticstatus patch is enabled.
+ status2d support (although extrabar status is written on the right, not on the left)
+ now clears extrabar on other monitors in a multi-monitor setup
- breaks dwmblocks in terms of registred buttonpresses
- extrabar is not clickable
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 9fcb63164d center patch: adding options to center transient windows 4 years ago
bakkeby 8f06f9a2d5 switchtag improvements, making the restoring of tags optional and configurable 4 years ago
bakkeby a7763038fd switchtag improvements, making the restoring of tags optional and configurable 4 years ago
bakkeby 188f2f482f switchtag patch: do not switch tags if the tag is already shown, same with focusonnetactive patch 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 9e8d70788c Adding alternative activetagindicatorbar patch 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 5a4c350b9c Updating sendmon_keepfocus to only keep focus if the client had focus 4 years ago
bakkeby 5a94b44e80 Adding link to sendmon_keepfocus patch 4 years ago
bakkeby 9574035849 Adding sendmon_keepfocus patch 4 years ago
bakkeby ce12e07163 Adding statusbutton patch ref. #33 4 years ago
bakkeby 04906b4ddf Adding resizepoint patch 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 c3d368f193 Adding bar_height patch 4 years ago
bakkeby 92a63debe5 setborderpx correction 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
Stein Gunnar Bakkeby f27195491c
Merge pull request #32 from gx2b/master
Adding tagothermonitor patch
4 years ago
matt 6aca089661 Adding tagothermonitor patch 4 years ago
bakkeby 5e0a9c49f8 Adding sizehints patch 4 years ago
bakkeby 920c58421b Default example config should use .isfloating not .floating, could also use the FLOATING macro 4 years ago
bakkeby 87acda9bfd Default example config should use .isfloating not .floating, could also use the FLOATING macro 4 years ago
bakkeby cac3e7d2c9 Rule macro improvements + rule macro helper macros 4 years ago
bakkeby a7b226de41 Make EWMH windows float
Move updatewindowtype() functionality into applyrules(), and also make
following EWMH windows float: DIALOG, UTILITY, TOOLBAR, SPLASH.

This is taking the proposed patch to add window type to the rule matching
options for dwm, allowing dialog, utility, toolbar and splash windows
to be configured to float by default.

This patch is intended to be merged into the main dwm build.

In effect the intermediate EWMH_WINDOWS_FLOAT_PATCH has also been removed.
4 years ago
bakkeby f315188728 Autostart: Make autostart conform to XDG Base Directory specification (upgrade) 4 years ago
bakkeby 6f20203975 Added RULE macro to replace rules setup making the default config less of an abomination and making it simpler to include new rules based patches 4 years ago
bakkeby 7ba6ea50bf Upgrade to 5e34b2 4 years ago
bakkeby 2643894570 [dwm][PATCH] Fix memory leaks in drw
The function drw_fontset_free in drw.c was never called.
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 e355c49833 noborder: The noborder patch had a bug in it such that if moving the window in floating layout then the window would continuously grow, adding the fix for that 4 years ago
bakkeby 1f971ebd1d SCRATCHPAD_KEEP_POSITION_AND_SIZE_PATCH should not be enabled by default 4 years ago
bakkeby a5e74cd720 staticstatus: Adding note about systray pinning 4 years ago
bakkeby 164095db40 Adding staticstatus patch 4 years ago
bakkeby 622c4bc0d6 EWMH window float patch: Floating window x, y coordinates may be negative in a multi-monitor setup 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