Discussion:
[dev] Fwd: Re: [hackers] moveresize patch - BadAlloc crash
Karl Ertlinger
2018-04-13 23:21:48 UTC
Permalink
I give this to this list as those changes have to be done on the website for
the patch to be usable on dwm 6.1
Hiltjo Posthuma
2018-04-14 09:29:30 UTC
Permalink
Post by Karl Ertlinger
I give this to this list as those changes have to be done on the website for
the patch to be usable on dwm 6.1
Date: Mon, 9 Apr 2018 17:08:05 +0100
Subject: Re: [hackers] moveresize patch - BadAlloc crash
User-Agent: NeoMutt/20180323
Managed to find a solution, instead of using the options which are on the
website I used older method (gotten through webarchive), and now it works without problems.
This goes into config.h and it works without problems.
{ MODKEY, XK_Down, moveresize, {.v = (int []){ 0, 25, 0, 0 }}},
{ MODKEY, XK_Up, moveresize, {.v = (int []){ 0, -25, 0, 0 }}},
{ MODKEY, XK_Right, moveresize, {.v = (int []){ 25, 0, 0, 0 }}},
{ MODKEY, XK_Left, moveresize, {.v = (int []){ -25, 0, 0, 0 }}},
{ MODKEY|ShiftMask, XK_Down, moveresize, {.v = (int []){ 0, 0, 0, 25 }}},
{ MODKEY|ShiftMask, XK_Up, moveresize, {.v = (int []){ 0, 0, 0, -25 }}},
{ MODKEY|ShiftMask, XK_Right, moveresize, {.v = (int []){ 0, 0, 25, 0 }}},
{ MODKEY|ShiftMask, XK_Left, moveresize, {.v = (int []){ 0, 0, -25, 0 }}},
Any time I try to use moveresize patch, following the guide (which ought to be
fixed as some elements of it are unformatted) I get dwm to crash with xorg
throwing BadAlloc error. Same happens when I changed move parameters to 1.
The website is public and anyone can push changed to it.

Please do it,
--
Kind regards,
Hiltjo
Loading...