summaryrefslogtreecommitdiff
path: root/src/privatescreen.h
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-08-07 04:25:12 +0200
committerDennis Kasprzyk <onestone@opencompositing.org>2008-08-07 04:25:12 +0200
commit860cc8ec6898fc33eda3aabb59eed7443a536e05 (patch)
treed1331d3c06064f73874617e77d014491d0db0dfb /src/privatescreen.h
parenta7d7153f11adc4ad16ec0f6236a0a3999b6ecc5f (diff)
downloadunity-window-decorator-860cc8ec6898fc33eda3aabb59eed7443a536e05.tar.gz
unity-window-decorator-860cc8ec6898fc33eda3aabb59eed7443a536e05.tar.bz2
Fix grab handling.
Diffstat (limited to 'src/privatescreen.h')
-rw-r--r--src/privatescreen.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/privatescreen.h b/src/privatescreen.h
index 86ea79f..f765222 100644
--- a/src/privatescreen.h
+++ b/src/privatescreen.h
@@ -23,6 +23,15 @@ class PrivateScreen {
int count;
};
+ class Grab {
+ public:
+
+ friend class CompScreen;
+ private:
+ Cursor cursor;
+ const char *name;
+ };
+
public:
PrivateScreen (CompScreen *screen);
~PrivateScreen ();
@@ -207,7 +216,7 @@ class PrivateScreen {
std::list<ButtonGrab> buttonGrabs;
std::list<KeyGrab> keyGrabs;
- std::list<CompScreen::Grab> grabs;
+ std::list<Grab *> grabs;
CompPoint rasterPos;
struct timeval lastRedraw;