Re: Tabbed interface: good progress



On Sat, 2007-06-30 at 18:05 -0500, Patrick Hallinan wrote:


There's a display_set_active()  on line 530 of disp_callbacks.c that's
causing the switch to the last diagram on resize.  It's for a
GDK_CONFIGURE event.  

I originally made display_set_active() cause a diagram's tab to be
selected so that double-clicking in the diagram tree would work like
it should.

Is it OK to remove the display_set_active() from the
GDK_CONFIGURE_EVENT? 

No, but it's ok that you don't call it with integrated UI.  It ensures
that the window that has just been resized is also active, but in
integrated UI there is only one window.

-Lars





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