2
0
mirror of https://github.com/bakkeby/patches synced 2024-11-05 21:20:30 +00:00
Commit Graph

40 Commits

Author SHA1 Message Date
bakkeby
ee81c6572d 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 14:13:16 +02:00
bakkeby
007979adfc switchtag: adding more control over when views switch back to what they were previously 2020-07-03 12:59:48 +02:00
bakkeby
a5640756dd Adding holdbar variant 2020-07-01 08:10:16 +02:00
bakkeby
54486758da dragmfact: Tweaks for fixed horizontal split 2020-06-29 11:02:59 +02:00
bakkeby
54a17a2ed1 Adding horizontal and vertical arrow cursor icons for dragmfact 2020-06-25 11:51:50 +02:00
bakkeby
43284b002b Adding corner mouse cursors, credit to fuseteam 2020-06-25 11:14:12 +02:00
bakkeby
faefba7daa Updating sendmon_keepfocus patch to only keep focus if client had focus 2020-06-25 09:29:56 +02:00
bakkeby
ac9f2e36aa Adding sendmon_keepfocus patch 2020-06-24 17:19:51 +02:00
bakkeby
f94e8757f6 Adding resizepoint patch 2020-06-24 14:17:42 +02:00
bakkeby
736cb19ebc Adding floatpos patch 2020-06-23 12:40:04 +02:00
bakkeby
7a952bcedc netactiverules: Updating example with FocusIfShown 2020-06-23 12:28:02 +02:00
bakkeby
37054cb277 netactiverules: Correction for options to alter the client's tags 2020-06-10 10:10:00 +02:00
bakkeby
f9a32b415a Adding options to move client to currently viewed tags 2020-06-09 17:12:44 +02:00
bakkeby
a134c586c2 Adding example patch: netactiverules 2020-06-09 11:29:56 +02:00
bakkeby
f51abc89b7 shiftviewclients: Adding integration hint for when combined with the scratchpads patch 2020-06-05 10:59:36 +02:00
bakkeby
9d7deb0cdf Removing wmtype patch entries from the alpha patch 2020-05-29 17:10:38 +02:00
bakkeby
efa289570c Removing (only dwm for now) 2020-05-28 17:28:48 +02:00
bakkeby
607c0b3c99 Adding dmenu alpha patch 2020-05-28 17:15:18 +02:00
bakkeby
de1d53bdd7 Adding moveresize patch 2020-05-22 14:20:16 +02:00
bakkeby
17a5293d18 Removing old flextile patch 2020-05-10 17:07:38 +02:00
bakkeby
e4b94b196a f 2020-05-10 17:07:16 +02:00
bakkeby
69fd1242e6 Correctings vertical starting position for fibonacci layout 2020-05-10 10:35:26 +02:00
bakkeby
ffffd92f6a Adding cfacts-vanitygaps patch 2020-05-08 17:43:44 +02:00
bakkeby
5db84c1165 Adding vanitygaps diff 2020-05-08 16:38:48 +02:00
bakkeby
f23a6baaf0 Adding shiftviewclients patch 2020-05-03 16:00:01 +02:00
bakkeby
d3307b7ccb Rebased against 6.2 (was c82db690cc0c4624dad4dc6ae899020799ec84db) 2020-05-01 22:54:26 +02:00
bakkeby
c8e1da690c Adding fakefullscreenclient patch 2020-05-01 17:05:21 +02:00
bakkeby
d7b77d2902 Adding pertag-flextile patch diff 2020-05-01 16:37:04 +02:00
bakkeby
76f8ae1549 Adding dragmfact patch and README.md 2020-04-30 18:10:21 +02:00
bakkeby
2de961d6af Upgrading tagmonfixfs patch to support fullscreen YouTube videos to stay fullscreen when moved to an adjacent monitor 2020-04-27 20:44:50 +02:00
bakkeby
6d50260267 Fixed a bug causing dwm to freeze when moving clients to adjacent monitors 2020-04-26 16:41:44 +02:00
bakkeby
943eb26113 Adding monitor tags patch 2020-04-26 14:43:03 +02:00
bakkeby
53932f4e65 Adding monitor rules patch 2020-04-26 11:49:14 +02:00
bakkeby
1302afc699 Minor style change for pertag patch 2020-04-26 11:42:52 +02:00
bakkeby
8cd673bc44 Minor spacing issue for center patch 2020-04-23 10:33:16 +02:00
bakkeby
f26c276c6d Adding attachbottom patch with fix 2020-04-23 10:32:53 +02:00
bakkeby
5ce73fe2b4 Adding attachx, autostart, center, cyclelayouts, fancybar, flextile, focusonnetactive, losefullscreen, pertag, resizecorners, rotatestack, savefloats, single-tagset, statuspadding, switchtag, systray, tagallmon, tagmonfixfs, tagswapmon, togglefullscreen, windowrolerule and zoomswap patches 2020-04-07 18:24:23 +02:00
bakkeby
b89b2bec54 Adding systray on top of alpha 2020-04-07 10:55:33 +02:00
bakkeby
b5611eda36 Adding dragcfact patch 2020-04-06 13:01:24 +02:00
bakkeby
9f5f4f33eb Adding dragcfacts patch 2020-04-06 12:55:10 +02:00