Do #define's properly for XRender.
svn path=/trunk/KDE/kdebase/workspace/; revision=781906
This commit is contained in:
parent
c920574f4d
commit
0b1cef2414
1 changed files with 3 additions and 3 deletions
|
@ -37,9 +37,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#ifdef KWIN_HAVE_XRENDER_COMPOSITING
|
||||
#include <X11/extensions/Xrender.h>
|
||||
#endif
|
||||
|
||||
#include <X11/extensions/Xfixes.h>
|
||||
#endif
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
@ -866,6 +865,7 @@ QRect PaintClipper::Iterator::boundingRect() const
|
|||
}
|
||||
|
||||
|
||||
#ifdef KWIN_HAVE_XRENDER_COMPOSITING
|
||||
// Convert QRegion to XserverRegion. All code uses XserverRegion
|
||||
// only when really necessary as the shared implementation uses
|
||||
// QRegion.
|
||||
|
@ -886,6 +886,6 @@ XserverRegion toXserverRegion( QRegion region )
|
|||
delete[] xr;
|
||||
return ret;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace
|
||||
|
|
Loading…
Reference in a new issue