1753947 Members
7360 Online
108811 Solutions
New Discussion

SaveUnder property

 
Satya_6
Frequent Advisor

SaveUnder property

Hi,

Can I enable the 'SaveUnder' attribute of the X server through my application? Is SaveUnder a property of X server? how is this managed by a X/Motif application? I see for my application when I browse through the menu or when a dialog is posted on the View, it gets full refresh and there by resulting in a poor performance.

Please suggest

TIA
Satya

1 REPLY 1
PeterWolfe
Respected Contributor

Re: SaveUnder property

> Can I enable the 'SaveUnder' attribute of the
> X server through my application?

No. you have to start the X server with
backing store/save under support enabled.
So if it's disabled in the X server, a client can't enable it.

Then you can have your application request it
for its windows (see XCreateWindow). Most
windows managers (e.g. mwm/dtwm, etc) have
options to enable save unders.