Commit Graph

260 Commits

Author SHA1 Message Date
bakkeby
474c91ea0c dwm.1: fix wrong text in man page (aaad5f) 2020-07-08 20:00:25 +02:00
bakkeby
fbaa215a14 staticstatus + extrabar: Allow extrabar to be static on a monitor other than that of the main staticstatus monitor 2020-07-08 14:14:07 +02:00
bakkeby
ccb275b984 Extrabar alignment, buttonclicks and other improvements 2020-07-07 17:25:48 +02:00
bakkeby
8df311b827 Extrabar compatibility improvements 2020-07-05 21:56:46 +02:00
bakkeby
ab488abc11 Extrabar compatibility improvements 2020-07-05 21:53:36 +02:00
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
2020-07-05 16:44:05 +02:00
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.
2020-07-05 13:20:28 +02:00
bakkeby
9fcb63164d center patch: adding options to center transient windows 2020-07-04 21:40:29 +02:00
bakkeby
8f06f9a2d5 switchtag improvements, making the restoring of tags optional and configurable 2020-07-03 15:57:14 +02:00
bakkeby
a7763038fd switchtag improvements, making the restoring of tags optional and configurable 2020-07-03 13:30:21 +02:00
bakkeby
188f2f482f switchtag patch: do not switch tags if the tag is already shown, same with focusonnetactive patch 2020-07-02 10:09:24 +02:00
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 2020-07-01 16:16:19 +02:00
bakkeby
9e8d70788c Adding alternative activetagindicatorbar patch 2020-06-30 11:07:42 +02:00
bakkeby
8c07458f11 holdbar: toggle bar improvements 2020-06-30 10:15:36 +02:00
bakkeby
347e6ace91 dragmfact: Tweaks for fixed horizontal split 2020-06-29 11:03:25 +02:00
bakkeby
c14a51524b Adding cursor icons for resizecorners, resizepoint, dragmfact and dragcfact 2020-06-25 11:56:41 +02:00
bakkeby
5a4c350b9c Updating sendmon_keepfocus to only keep focus if the client had focus 2020-06-25 10:28:31 +02:00
bakkeby
5a94b44e80 Adding link to sendmon_keepfocus patch 2020-06-24 17:27:01 +02:00
bakkeby
9574035849 Adding sendmon_keepfocus patch 2020-06-24 17:12:54 +02:00
bakkeby
ce12e07163 Adding statusbutton patch ref. #33 2020-06-24 16:36:51 +02:00
bakkeby
04906b4ddf Adding resizepoint patch 2020-06-24 14:49:30 +02:00
bakkeby
af30c7a735 floatpos: allow controls in floating mode 2020-06-23 12:11:01 +02:00
bakkeby
9ae251791d floatpos: correction 2020-06-23 11:55:55 +02:00
bakkeby
6c2d1518ab floatpos: refactoring 2020-06-23 10:15:37 +02:00
bakkeby
aecfff3a00 floatpos: correcting defaults 2020-06-22 17:53:33 +02:00
bakkeby
c3d368f193 Adding bar_height patch 2020-06-21 20:04:56 +02:00
bakkeby
92a63debe5 setborderpx correction 2020-06-21 15:36:22 +02:00
bakkeby
6a683c729e Adding floatpos patch. 2020-06-21 15:33:29 +02:00
bakkeby
8645b2ce35 Minor style correction 2020-06-21 09:10:25 +02:00
bakkeby
62cca4897b Tidy following tagothermonitor merge 2020-06-21 09:07:51 +02:00
Stein Gunnar Bakkeby
f27195491c
Merge pull request #32 from gx2b/master
Adding tagothermonitor patch
2020-06-21 08:21:16 +02:00
matt
6aca089661 Adding tagothermonitor patch 2020-06-19 23:18:50 +02:00
bakkeby
5e0a9c49f8 Adding sizehints patch 2020-06-15 21:01:05 +02:00
bakkeby
920c58421b Default example config should use .isfloating not .floating, could also use the FLOATING macro 2020-06-15 16:28:13 +02:00
bakkeby
87acda9bfd Default example config should use .isfloating not .floating, could also use the FLOATING macro 2020-06-15 16:27:55 +02:00
bakkeby
cac3e7d2c9 Rule macro improvements + rule macro helper macros 2020-06-15 15:34:44 +02:00
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.
2020-06-15 13:24:23 +02:00
bakkeby
f315188728 Autostart: Make autostart conform to XDG Base Directory specification (upgrade) 2020-06-14 19:56:52 +02:00
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 2020-06-14 15:52:47 +02:00
bakkeby
7ba6ea50bf Upgrade to 5e34b2 2020-06-11 20:05:49 +02:00
bakkeby
2643894570 [dwm][PATCH] Fix memory leaks in drw
The function drw_fontset_free in drw.c was never called.
2020-06-11 16:58:08 +02:00
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).
2020-06-11 16:44:43 +02:00
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 2020-06-10 12:24:46 +02:00
bakkeby
1f971ebd1d SCRATCHPAD_KEEP_POSITION_AND_SIZE_PATCH should not be enabled by default 2020-06-10 12:10:06 +02:00
bakkeby
a5e74cd720 staticstatus: Adding note about systray pinning 2020-06-10 12:08:37 +02:00
bakkeby
164095db40 Adding staticstatus patch 2020-06-10 11:52:35 +02:00
bakkeby
622c4bc0d6 EWMH window float patch: Floating window x, y coordinates may be negative in a multi-monitor setup 2020-06-10 11:22:48 +02:00
bakkeby
45247a14bc Fix infinite loop in attachbelow patch 2020-06-10 10:48:50 +02:00
bakkeby
a713e73a37 shiftviewclients: compatibility changes for scratchpads and scratchpad_alt_1 patches 2020-06-05 11:24:07 +02:00
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 2020-06-05 11:23:22 +02:00