Re: Replacing gdk_display_open(char*)



On Tue, Nov 16, 2010 at 09:15:43PM +0000, Ross Burton wrote:
> On 16 November 2010 18:44, Petr Tomasek <tomasek etf cuni cz> wrote:
> > So this would be really needed and I think Gtk should have some
> > way to support an application simultaneusly using more than one
> > "screen"s.
> >
> > The current "bottleneck" on X is however the inability of XrandR to create
> > new screens on the fly... :-(
> 
> What is stopping you using the GDK API to get the extents of the
> monitors from the unified "screen" and say positioning the speakers
> notes on one monitor and the presentation on the other?

There are several problems with this:

 a) cursor movement: With separate screens you can assure
the mouse pointer will not go outside the area user expect it.

 b) background and desktop icons. Consider e.g. public film
screening, You don't want, that your desktop background and
icons appear before and after the film.

 c) you surely don't want random applications poping up
on the public screen even if they were intended to be shown
only privately on the laptop.

So the problem is not if You could get Your application displayed
on particular device, but to assure that this device won't be
in any way affected by other applications.

This can be done only accomplished through some concept of a "screen";
what You described is only an ugly hack...

> To be honest, I thought Oo.o did this already - my laptop has Intel
> GPU so uses the new world order of xrandr, and I'm sure I've done this
> with oo.o.
> 
> Ross



-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
Jabber: butrus jabbim cz

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
EA 355:001  DU DU DU DU
EA 355:002  TU TU TU TU
EA 355:003  NU NU NU NU NU NU NU
EA 355:004  NA NA NA NA NA
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]