Changeset 173 in tspsg-svn for trunk/src


Ignore:
Timestamp:
May 30, 2011, 11:33:23 AM (14 years ago)
Author:
laleppa
Message:
  • Added translucency (composition) support detection under X11.
  • Fixed forgotten 2007-2010 to 2007-2011 in .dox files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/qtwin.cpp

    r150 r173  
    1515#include <QPointer>
    1616
     17#ifdef Q_WS_X11
     18#include <QX11Info>
     19#endif // Q_WS_X11
     20
    1721#ifdef Q_WS_WIN
    1822
     
    104108    }
    105109    return false;
    106 #elif !defined(HANDHELD)
     110#elif defined(Q_WS_X11)
     111    return QX11Info::isCompositingManagerRunning();
     112#else
    107113    //! \todo TODO: Check for trsnsparency support in other OSes.
    108     return true;
    109 #else
    110114    return false;
    111115#endif
Note: See TracChangeset for help on using the changeset viewer.