summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2010-12-02 00:59:46 +0800
committerUnity <unity@VB-U1010.(none)>2010-12-02 01:01:17 +0800
commitef1399c6bdd2324000c2f19f55f48a89d1737a51 (patch)
treeb8b515b552a8efa990477e15534ea5fc988011bd /include
parent86074c146eab74c0d2b5a382122668e333faecdf (diff)
downloadmobileperf-ef1399c6bdd2324000c2f19f55f48a89d1737a51.tar.gz
mobileperf-ef1399c6bdd2324000c2f19f55f48a89d1737a51.tar.bz2
Remove doPoll () and rewrite CompWatchFd to use Glib::IOSource
This changes compiz to monitor file descriptors directly in the glib mainloop which fixes things like not exiting correctly with session managers and the like.
Diffstat (limited to 'include')
-rw-r--r--include/core/screen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/screen.h b/include/core/screen.h
index 77e584e..9b6509d 100644
--- a/include/core/screen.h
+++ b/include/core/screen.h
@@ -467,6 +467,8 @@ class CompScreen :
void *userData);
static int checkForError (Display *dpy);
+
+ friend class CompWatchFd;
};
#endif