On 2015-09-17, J. Roeleveld <[email protected]> wrote:

>>> I use 2 screens extensively and never experienced any issues like you
>>> describe.
>> 
>> And you can select/paste from one screen to another where the source
>> is a gtk-3 app?
>
> Not sure, need to test with a gtk-3 app.
>
> I run KDE myself.

>> I should clarify that I mean "screen" in the strict X11 usage.  Using
>> Xinerama or the like to spread a single desktop across multiple
>> monitors is still a single screen setup.  I'm trying to select text
>> on DISPLAY=:0.0 and paste it on DISPLAY=:0.1
>
> Not using my desktop atm.
> What does Xorg do by default when it detects multiple screens?

Not sure -- I'll have to give it a try. IIRC, it just uses the first
one.

>>> Am surprised it would respond differently between GTK-3 and non-GTK-3
>>> apps.
>> 
>> I'm not.  When somebody selects something, you've got to make onr or
>> more Xlib function calls to grab control of the selection, and if
>> you're naive and think that the screen where your program is running
>> is the only one, then you only make the call to grab control of the
>> selection for that screen. Apparently the gtk-3 developers never
>> thought about the possibility that there are mutliple screens in an
>> X11 session.
>
> Bad design then, as systems with multiple screens have been around
> for years.

Agreed. Apps that use other libraries seem to work fine, and gtk-2
works fine.

>> Are you really using multiple screens?  Or a single screen spread
>> across mutliple monitors?  If you start an xterm on every monitor and
>> do "echo $DISPLAY" in each one, do you get different results or are
>> they all the same?
>
> As I said, what's the default with Xorg?

I'll check.

-- 
Grant Edwards               grant.b.edwards        Yow! Does someone from
                                  at               PEORIA have a SHORTER
                              gmail.com            ATTENTION span than me?


Reply via email to