XForms: backing store.. NotUseful

Trent Piepho (xyzzy@u.washington.edu)
Sat, 31 Jan 1998 22:40:53 -0800 (PST)

# To subscribers of the xforms list from Trent Piepho <xyzzy@u.washington.edu> :

Xforms by default uses backing store if it is available. For my program, I'd
rather it didn't. How can I turn it off?

Right now I turn it off after the fact everytime I show a window, but
I'd rather they just didn't have it to begin with...

void no_bs(FL_FORM *form)
{
XSetWindowAttributes xswa;

xswa.backing_store=NotUseful;
XChangeWindowAttributes(fl_get_display(), form->window,
CWBackingStore, &xswa);

return;
}

|Gazing up to the breeze of the heavens \ on a quest, meaning, reason |
|came to be, how it begun \ all alone in the family of the sun |
|curiosity teasing everyone \ on our home, third stone from the sun. |
|Trent Piepho (xyzzy@u.washington.edu) -- Metallica |
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/