Re: [hackers] moveresize patch - BadAlloc crash

From: Karl Ertlinger <dreadknight_AT_firemail.cc>
Date: Mon, 9 Apr 2018 17:08:05 +0100

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 }}},
On 04/07 03:37, Karl Ertlinger wrote:
> 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.
>
Received on Mon Apr 09 2018 - 18:08:05 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 09 2018 - 18:12:24 CEST