FVWM: RE: Notification: incoming/977

From: EXT-Wilson, William A <william.a.wilson_at_boeing.com>
Date: Thu, 9 Jan 2003 06:59:35 -0800

Dan,

Attached is a tarball with a sample program. I have included stripped down
versions of the two files which are required and a tc.m which will make it.
The g_plot file normally resides in
~/app-defaults/g_plot. The part of the code which I suspect is not working
correctly with fvwm is:

  /*
   * Turn on backing Store & Save Under
   */
  if (strcmp(expose,"SERVER") == 0) {
    attrib.backing_store = Always;
    attrib.save_under = True;
  }
  else {
    attrib.backing_store = NotUseful;
    attrib.save_under = False;
  }
  XChangeWindowAttributes(screen[snum].G_plot_disp,screen[snum].G_plot_win,
   CWBackingStore | CWSaveUnder,&attrib);

which is in x11_gplot.c. This code (which I don't understand was coded a
long time ago for a Sun based sonar system which used a Techsource display
VME card. Things have changed over the years and we keep tinkering with the
plot package to make it work. Using fvwm delivered with Red Hat 7.2 (maybe
7.3) everything was OK. You could minimize a g_plot window and bring it
back and you could cover it up with another window and it would restore.
Now, when you bring it back, the covered area is black. The only part that
comes back is the border and the window title "Gplot Graphics ...".

Any and all suggestions would be appreciated.

Bill Wilson
714-762-4348

-----Original Message-----
From: Dan Espen [mailto:dane_at_mk.telcordia.com]
Sent: Wednesday, January 08, 2003 1:24 PM
To: EXT-Wilson, William A
Cc: 'fvwm_at_fvwm.org'
Subject: Re: Notification: incoming/977


"EXT-Wilson, William A" <william.a.wilson_at_boeing.com> writes:
> Dan,
>
> Thanks for the quick response. I think I must have made an error in
reading
> the version number; but I updated to 2.4.14 as you suggested. I still
have
> the same problem. I think (wild guess by not a strong X programmer) that
> there is a configuration file somewhere controlling fvwm and it got
updated
> when I upgraded to Red Hat 8.0. The key to this is, "does fvwm repaint
> uncovered portions of a display?".

No.
The application will get expose events and then the application
has to repaint itself.

Can you give us more information about the application or
perhaps a small piece of code.

For 2.4.14, the configuration file for fvwm would be
$HOME/.fvwm/.fvwm2rc.

-- 
Dan Espen                           E-mail: dane_at_mk.telcordia.com
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Jan 09 2003 - 09:19:11 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST