Changeset 142cff4d3d in tspsg for src/qtwin.cpp


Ignore:
Timestamp:
May 30, 2011, 11:33:23 AM (13 years ago)
Author:
Oleksii Serdiuk
Branches:
appveyor, imgbot, master, readme
Children:
1b40fef578
Parents:
f088fd8ec3
git-author:
Oleksii Serdiuk <contacts@…> (05/30/11 11:33:23)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:45:59)
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
  • src/qtwin.cpp

    rf088fd8ec3 r142cff4d3d  
    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.