Re: XForms: Opening a second display

From: T.C. Zhao (tc_zhao@yahoo.com)
Date: Sun Oct 22 2000 - 09:39:27 EDT

  • Next message: T.C. Zhao: "Re: XForms: spreadsheets and more"

    # To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :

    I don't think XDisplayName(0) would work because
    it only looks at the environment variables.
    DisplayName(fl_get_display()) should do the
    trick.

    --- Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> wrote:
    > # To subscribers of the xforms list from Jean-Marc Lasgouttes
    > <Jean-Marc.Lasgouttes@inria.fr> :
    >
    >
    > Hello,
    >
    > In order to render EPS figures, LyX needs to open a second display,
    > and does something like
    > tmpdisp = XOpenDisplay(XDisplayName(0));
    >
    > We've had however reports that LyX did not work when running on a
    > different screen of the same display, and I was wondering whether the
    > above method works when the -display command line option has been
    > used.
    >
    > If it does not work, what would be the right method for opening a
    > second display under xforms?
    >
    > JMarc
    > _________________________________________________
    > To unsubscribe, send the message "unsubscribe" to
    > xforms-request@bob.usuhs.mil or see
    > http://bob.usuhs.mil/mailserv/xforms.html
    > XForms Home Page: http://world.std.com/~xforms
    > List Archive: http://bob.usuhs.mil/mailserv/list-archives/
    >

    __________________________________________________
    Do You Yahoo!?
    Yahoo! Messenger - Talk while you surf! It's FREE.
    http://im.yahoo.com/
    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/



    This archive was generated by hypermail 2b29 : Sun Oct 22 2000 - 09:40:36 EDT