1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-19 20:34:22 +02:00

Remove dependency on XComposite on X11. It wasn't actually a dependency

on the library, just the development headers (used to check for th
existence of compositing at runtime, but not necessary for us).
This commit is contained in:
Jeff Mitchell
2011-08-29 11:02:37 -04:00
parent bde3d93f6a
commit d5a2e4b325
3 changed files with 8 additions and 1 deletions

View File

@@ -30,7 +30,10 @@
#include <unistd.h>
#include <X11/Xutil.h>
#if 0
#include <X11/extensions/Xcomposite.h>
#endif
#include "netwm.h"
@@ -703,6 +706,7 @@ void NETWM::transset(Window window, double d)
XSync(dpy, False);
}
#if 0
bool NETWM::isComposite()
{
int event_base, error_base;
@@ -722,6 +726,7 @@ bool NETWM::isComposite()
return (owner != None);
}
#endif
void NETWM::checkInit()
{

View File

@@ -82,7 +82,9 @@ public:
static void transset(Window, double);
#if 0
static bool isComposite();
#endif
static int setProperty(Window, Atom, long, uchar *, int);