Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT and multihead/ multiple graphics cards environments

Mathias and me are working on this SWT multi head issue.

We don't have tried to run anything on Mac OS X, due to the lack of
opportunities. We do not have a Mac OS X system available.

But this is not the point. There are several mulithead enviroments
available.

On Windows there is only one mode, something similar to "Xinerama", which
means there are N monitors on one big "screen".
On X-System, there are potentially two modes available:
* a Xinerama-mode, behaving similar to the Windows mode. There is one big
virtual desktop and each window/shell can be moved to any monitor. Monitors
are identified by coordinates on the desktop.
* a "multi-screen" mode. Each monitor is associated with one separate "
x-screen". A window/shell is locked to this screen and cannot be moved to
another screen. This seems to be very restrictive for applications, but the
big advantage of this mode is the fixed association of window/shell to a
screen, which results in an extraordinary grahic performance benefit
(especially for more than 4 monitors). The one big disadvantage of this
mode is that SWT does not support it (but AWT and GTK do !).
For Mac OS X, we do not know, which of the two modes are available and
whether there is support of this feature by the toolkits Cocoa or Carbon.

Nevertheless, our idea is to enhance SWT (GTK) in a way without breaking
any existing mode or API for other platforms. And if there is a native
support on these platforms, this feature can be implemented.

Our plan is to add only one additional method Shell.setMonitor(), which in
a Windows or Xinerama environment simply sets the bounds of the shell to
valid coordinates of the corresponding monitor. In "multi-screen"
environments, the shell's handle is brought onto the new xScreen. Using
GTK, this can be done by calling gtk_window_set_screen().

So the question is:

Is this interesting for the SWT community ?

Rainer






Have you tried to run the Swing code on Mac OS X with duel head monitors?
I'm fairly certain that neither Cocoa nor Carbon allows for programmatic
selection of destination monitor.

Daniel

On 10/6/06, Mathias.Engelhardt@xxxxxxxxxx <Mathias.Engelhardt@xxxxxxxxxx>
wrote:
      I recently submitted enhancement request 152978
      ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=152978). Would anyone
      be so
      kind as to have a look at it and tell me what you think about it?

      Thanks
        Mathias


      _______________________________________________
      platform-swt-dev mailing list
      platform-swt-dev@xxxxxxxxxxx
      https://dev.eclipse.org/mailman/listinfo/platform-swt-dev







Back to the top