Solaris 8, openwin X11 server, CDE window manager
I'm running X in "Xinerama" mode with one logical
across two physical displays. To X clients, it appears
as if there is one single 2560x1024 display.
Both of the problems below occur when a Tk window is
to the right half of the screen (into the second
monitor), but it
doesn't happen exactly at the same spot each time.
I can get a window fully into the right monitor, plus
20 or 30 pixels without problems, but then if I move it
the right, the problems start.
First, menus (at least within a menubar) become very
and unresponsive. They don't respond at all to
menu selection. Once started, this problem persists
of where the window is posistioned.
Second when submenus of a menu are posted, they appear
the correct y, but far to the left, in the first
monitor. This problem
eventually goes away if the window is moved to the left
but also not at a consistent x-position.
I checked winfo: x, y, rootx, rooty, screenwidth,
pointerx, and pointery all return values that you'd
expect for the
main window regardless of where the window is. However
I post a menu with ".mb1.menu1 post 1800 120", and the
immediately do "winfo rootx .mb1.menu1", it returns
520, which is
1800-1280, and 1280 is half the screen width, one
The menu still appears in the right half of the screen
though. If I
then call ".mb1.menu1 postcascade 2", the sub menu
(not surprisingly) at an x of 639, both visibly and as
by winfo rootx. (winfo x reports the same as winfo
rootx in these
two cases also.)
dtwm uses a "rooms" virtual window paradigm, so vrootx
vrooty should always be zero, and they are reported as
vrootwidth and vrootheight are also reported correctly