sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

st-expected-anysize-0.9.diff (441B)


      1 diff --git a/x.c b/x.c
      2 index aa09997..ea6e016 100644
      3 --- a/x.c
      4 +++ b/x.c
      5 @@ -869,8 +869,8 @@ xhints(void)
      6  	sizeh->flags = PSize | PResizeInc | PBaseSize | PMinSize;
      7  	sizeh->height = win.h;
      8  	sizeh->width = win.w;
      9 -	sizeh->height_inc = win.ch;
     10 -	sizeh->width_inc = win.cw;
     11 +	sizeh->height_inc = 1;
     12 +	sizeh->width_inc = 1;
     13  	sizeh->base_height = 2 * borderpx;
     14  	sizeh->base_width = 2 * borderpx;
     15  	sizeh->min_height = win.ch + 2 * borderpx;