ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] another fix


From: Shawn Betts
Subject: Re: [RP] another fix
Date: Sun Aug 10 17:23:09 2003
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

John Meacham <address@hidden> writes:

> Index: src/manage.c
> ===================================================================
> RCS file: /cvsroot/ratpoison/ratpoison/src/manage.c,v
> retrieving revision 1.78
> diff -u -u -r1.78 manage.c
> --- src/manage.c        25 May 2003 10:56:19 -0000      1.78
> +++ src/manage.c        14 Jul 2003 03:01:26 -0000
> @@ -697,13 +697,15 @@
>    if (win->hints->flags & PResizeInc)
>      {
>        XMoveResizeWindow (dpy, win->w, win->x, win->y,
> -                        win->width + win->hints->width_inc, 
> -                        win->height + win->hints->height_inc);
> +                        win->width - win->hints->width_inc, 
> +                        win->height - win->hints->height_inc);
>      }
>    else
>      {
> -      XResizeWindow (dpy, win->w, win->width + 1, win->height + 1);
> +      XResizeWindow (dpy, win->w, win->width - 1, win->height - 1);
>      }
> +
> +  XSync (dpy, False);
>  
>    /* Resize the window to its proper maximum size. */
>    XMoveResizeWindow (dpy, win->w, win->x, win->y, win->width, win->height);

Hi John,

I applied this patch and it doesn't make a difference for me. Has
anyone else had success with this patch?

Shawn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]