gnotclub / xst

st fork that uses Xresources and some pretty good patches
MIT License
536 stars 73 forks source link

st-anysize patch, modified and applied to xst. #85

Closed ZachIndigo closed 4 years ago

ZachIndigo commented 4 years ago

This is modified by me to have the anysize patch, using the patch file I generated below. `diff --git a/src/xst.c b/src/xst.c index 330ad44..7f60235 100644 --- a/src/xst.c +++ b/src/xst.c @@ -287,6 +287,7 @@ typedef struct { int gm; / geometry mask / int tw, th; / tty width and height / int w, h; / window width and height /

@@ -4355,36 +4358,36 @@ xdrawcursor(void) case 3: / Blinking Underline / case 4: / Steady Underline / XftDrawRect(xw.draw, &drawcol,

actionless commented 4 years ago

what this patch intended to do?

ZachIndigo commented 4 years ago

This patch modifies the resize hints, so that xst resizes properly in tiling window managers.

On May 9, 2020 11:50:14 PM UTC, Yauhen Kirylau notifications@github.com wrote:

what this patch intended to do?

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/gnotclub/xst/pull/85#issuecomment-626250764 -- Sent from my Android device with Librem Mail. Please excuse my brevity.

actionless commented 4 years ago

i'm using AwesomeWM, in both options of size_hints_honor (ie true or false) xst behave appropriately

if in your WM one of those two scenarios is broken, please report it to them