On Tuesday 02 October 2001 13:56, Jean-Marc Lasgouttes wrote:
> I have two problems with the new splash screen
> 
> 1/ (minor) the splash disapears when I move the mouse over it
> (probably because I have focus-follows-mouse)

Yes, this triggers a FL_DRAW event.

> 2/ (more annoying) I cannot use keybindings like C-x C-c when there is
> not document open.

Hmmm. 

The old way:
        draw a new grey rectangle on top of the active FL_OBJECT * work_area.
The new way
        toggle the work_area between fl_show and fl_hide, displaying the
        underlying (grey) button.

As you say, this means that the keybindings won't work.

Rather than hiding the work_area, we could push the background button (and 
splash etc) above or below it.

Do you know how to push FL_OBJECTs to the top of the queue?

Looking at forms.h, we have:

struct FL_OBJECT {
    struct forms_ *form;        /* the form this object belongs to     */
    struct flobjs_ *prev;       /* prev. obj in form */
    struct flobjs_ *next;       /* next. obj in form */
};

struct FL_FORM {
    struct flobjs_ *first;
    struct flobjs_ *lastfor ;
};

so this shouldn't be too difficult!

Angus

Reply via email to