On 2008-12-15 17:09 +0000, Tuomo Valkonen wrote:
> > resize commands. (E.g. I see only tab heading, but if I switch to that
> > heading and try to do ALT+K-V or even ALT+R-N, there's no reaction.) The
> > only way to unshrink it is to resize main frame.
> 
> I may look into this more closely next year; now I have
> other things to concentrate on.

Ok, attached is a patch that might help with the issue, also
available from the darcs repository. Please let me know if it
helps, so I can finally make the new maintenance release that's
been pending (getting through with PhD defence busyness).

-- 
In 1988, automated information processing, ATK (automaattinen
tietojenkäsittely), was a budding new field.
By 2008, it has become known as IT, information technology, 
manually operated by human slaves. 
                                                                    
Tue Dec 30 19:11:19 EET 2008  Tuomo Valkonen <[email protected]>
  * Apply FRAME_SHADED_TOGGLE hack in WFrame.maximize_vert
  for correct unshaded size hints to rqgeom handlers.
diff -rN -u old-ion-3/ioncore/resize.c new-ion-3/ioncore/resize.c
--- old-ion-3/ioncore/resize.c  2008-12-30 19:15:31.000000000 +0200
+++ new-ion-3/ioncore/resize.c  2008-12-30 19:15:31.000000000 +0200
@@ -756,9 +756,11 @@
     int oy, oh;
     
     if(frame->flags&FRAME_SHADED || frame->flags&FRAME_MAXED_VERT){
+        if(frame->flags&FRAME_SHADED)
+            frame->flags|=FRAME_SHADED_TOGGLE;
         if(frame->flags&FRAME_SAVED_VERT)
             rqh(frame, frame->saved_y, frame->saved_h);
-        frame->flags&=~(FRAME_MAXED_VERT|FRAME_SAVED_VERT);
+        frame->flags&=~(FRAME_MAXED_VERT|FRAME_SAVED_VERT|FRAME_SHADED_TOGGLE);
         return;
     }
 

Reply via email to