RE: FVWM: DISPLAY changes on restart

From: Dameron, Gregg <gregg.dameron_at_lmco.com>
Date: Thu, 11 Apr 2002 15:45:57 -0600

> I use $DISPLAY as part of a personalized FIFO name (for FvwmCommandS).
> After a restart, scripts that invoke "FvwmCommand -f <FIFO>" tend to stop
> working. Turns out, $DISPLAY often (but not always) changes from ":0.<n>"
> on startup to "unix:0.<n>" on a restart. Any ideas why this might be
> happening?

fvwm.c:

  sprintf(display_string,"DISPLAY=%s",XDisplayString(dpy));
  putenv(display_string);


So are you saying this is an Xlib bug?

Perhaps a better question is this: Is it reasonable for a window manager to
set DISPLAY if it subverts the value it inherits from the session manager?
Certainly if an overriding command line option is given, like -d in the case
of fvwm2, then yes. But otherwise? Moreover, doesn't it seem strange that
a restart would give a different answer?
--
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 Apr 11 2002 - 16:47:00 BST

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