Commit Graph

335 Commits

Author SHA1 Message Date
bakkeby
ff72f80029 barmodules: refactoring updatebarpos 2020-07-21 11:35:26 +02:00
bakkeby
d7a7ac67ee barmodules: removing tags padding 2020-07-20 11:58:21 +02:00
bakkeby
3acae9e67d Adding link to barmodules patch 2020-07-19 19:32:41 +02:00
bakkeby
2065014161 BAR_TITLE_RIGHT_PAD --> BAR_TITLE_RIGHT_PAD_PATCH 2020-07-19 19:30:02 +02:00
bakkeby
d0c077a102 Removing unnecessary .h file 2020-07-19 19:29:10 +02:00
bakkeby
e9b6d35cac Strikethrough correction 2020-07-19 17:01:52 +02:00
bakkeby
023aa218e4 Adding powerline patch 2020-07-19 16:57:30 +02:00
bakkeby
23c0e9450f hidevacanttags: width and buttonpress fix 2020-07-19 09:38:06 +02:00
bakkeby
a7d1663571 Adding bar modules which splits the dwm bar into modules allowing for re-arrangement of the bar and easier integration for new features 2020-07-19 05:01:38 +02:00
bakkeby
e57fa18a48 Adding note about dwm-flexipatch-1.0 branch 2020-07-18 21:36:56 +02:00
bakkeby
6961418d63 Extrabar --> extrastatus 2020-07-18 21:12:30 +02:00
bakkeby
250fbbd2c7 holdbar: changes for new bar 2020-07-18 18:59:03 +02:00
bakkeby
346d7f6b1d Making bars list into linked list 2020-07-18 18:58:39 +02:00
bakkeby
aff7c0d8b8 Revert config.mk uncommenting 2020-07-18 13:04:39 +02:00
bakkeby
664484d572 Refinement 2020-07-18 13:03:30 +02:00
bakkeby
ad09397ad9 status2d: hide click_status2d if dwmblocks is used 2020-07-15 17:15:35 +02:00
bakkeby
06c4122e07 Movestack can cause dwm to crash if there are no selections on the monitor 2020-07-15 17:14:29 +02:00
bakkeby
e780c5078f taggrid: fix for invalid highlighting for the last tag when columns have an uneven number of clients 2020-07-15 17:14:14 +02:00
bakkeby
aa70728d00 Adding BarWidthArg, BarDrawArg, BarClickArg to keep the method signatures static 2020-07-15 14:10:47 +02:00
bakkeby
f2da4d20d9 Further bar renaming 2020-07-15 09:26:16 +02:00
bakkeby
903b32ac8b Major refactoring in preparation for bar modules 2020-07-15 08:57:30 +02:00
bakkeby
38c77b06f0 Fixing rawstext defined but not used warning 2020-07-15 08:31:39 +02:00
bakkeby
b84604f821 Correcting links status2d compatible with extrabar 2020-07-15 08:10:30 +02:00
bakkeby
1584a32063 flextile deluxe: fixed dual stack bug 2020-07-09 16:04:04 +02:00
bakkeby
1d8aef2198 awesomebar: refactoring remainder logic, which seemed a bit off 2020-07-09 15:24:32 +02:00
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