[mythtv-users] dual head setup getting screen size from first
screen
Paul Andreassen
paulx at andreassen.com.au
Mon Sep 12 13:45:00 UTC 2005
On Mon, 12 Sep 2005 02:18 pm, Brian J. Murrell wrote:
> It's not trying to guess. I am setting DISPLAY=:0.1 before running
> mythfrontend. It displaying on the right screen, just not getting it's
> screen geometry from the X server for the right screen. It runs on :0.1
> but thinks it's geometry is that of :0.0.
I did some more research on possible causes.
If you look in libs/libmyth/mythcontext.cpp at function void
MythContextPrivate::GetScreenBounds() you can see the logic.
Its also important to understand the desktop functions found in
file:/usr/share/qt3/doc/html/qdesktopwidget.html#details (this is on my system
by installed the qt3 docs)
Attached is a quick hack to fix the problem for the svn tree. I didn't even
compile it, so best of luck.
Paul
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: non-virtual.patch
Type: text/x-diff
Size: 573 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20050912/ecc99d7a/non-virtual.bin
More information about the mythtv-users
mailing list