[mythtv-users] viewer falls asleep with the EPG open - plasma burn in concerns

Michael T. Dean mtdean at thirdcontact.com
Tue Apr 6 03:10:29 UTC 2010


On 04/05/2010 09:33 PM, Johnny Walker wrote:
> I've located the code in xwininfo.c for this and it's actually an
> include from xc/programs/xlsfonts/dsimple.c in the xfree86 project.
>
> Is it acceptable to add this include to the new class?
>
> I've been attempting to use the WinId() function from QT but I'm
> having a different problem including mythmainwindow.h in the
> screensaver class.
>
> Is using the QT function preferred? Does anyone see a simpler method
> of obtaining the xwindowid of the mythmainwindow?
>    

Generally, it's better to use the Qt functions if they provide the 
necessary info (either QWidget::winId() or maybe 
QWidget::effectiveWinId() would be better).

If you have questions about your code, feel free to send me a copy (on 
or off list) or look me up in IRC on freenode (sphery).

Mike


More information about the mythtv-users mailing list