ratpoison-devel
[Top][All Lists]
Advanced

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

Re: [RP] transient minor bug


From: FEJF
Subject: Re: [RP] transient minor bug
Date: Sat, 10 Dec 2005 17:36:23 +0100
User-agent: KMail/1.9

sorry, there the code from window.c was incorrect - so here the correct 
version:

----------------------------------------------
hi,
it seams as there is a little bug in the split.c with the transient window 
detection. windows are transient either if there was a transient hint or if 
their maxsize is smaller then the screen. the second is only checked if 
enabled in conf.h. this check in the window.c looks like this:
 
~/cvs/ratpoison/src/window.c line 654++
  if (!win->transient
      && !(win->hints->flags & PMaxSize
           && (win->hints->max_width < win->scr->width
               || win->hints->max_height < win->scr->height)))

and in the split.c:

~/cvs/ratpoison/src/split.c line 86++
  if (!win->transient
      && !(win->hints->flags & PMaxSize
           && win->hints->max_width < win->scr->width
           && win->hints->max_height < win->scr->height))

so it seams that the split.c check should be changed to the window.c 
behaviour.
----------------------------------------------

fejf


-- 
BOFH Excuse #238:

You did wha... oh _dear_....

Attachment: pgpJ52bYECUak.pgp
Description: PGP signature


reply via email to

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