summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-07-23 19:40:29 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-07-23 19:40:29 -0500
commit20e07404c9b60a2e0c5703e2b848dc4bdcb19e1a (patch)
tree475ead7ba539829639e304fd4f9cd015d0ecc56e /src
parenta8224ec6ea72211303d47059956f9b5fd43263d0 (diff)
downloadzcomp-20e07404c9b60a2e0c5703e2b848dc4bdcb19e1a.tar.gz
zcomp-20e07404c9b60a2e0c5703e2b848dc4bdcb19e1a.tar.bz2
Add CompScreen::normalCursor ().
Diffstat (limited to 'src')
-rw-r--r--src/privatescreen.h3
-rw-r--r--src/screen.cpp6
2 files changed, 7 insertions, 2 deletions
diff --git a/src/privatescreen.h b/src/privatescreen.h
index bc79261..9ba9c4e 100644
--- a/src/privatescreen.h
+++ b/src/privatescreen.h
@@ -368,8 +368,6 @@ class PrivateScreen : public CoreOptions {
XWindowAttributes attrib;
Window grabWindow;
- Cursor invisibleCursor;
-
int desktopWindowCount;
unsigned int mapNum;
unsigned int activeNum;
@@ -400,6 +398,7 @@ class PrivateScreen : public CoreOptions {
Cursor normalCursor;
Cursor busyCursor;
+ Cursor invisibleCursor;
CompWindowVector clientList; /* clients in mapping order */
CompWindowVector clientListStacking; /* clients in stacking order */
diff --git a/src/screen.cpp b/src/screen.cpp
index 6374594..8027bbd 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -2538,6 +2538,12 @@ CompScreen::unhookWindow (CompWindow *w)
}
Cursor
+CompScreen::normalCursor ()
+{
+ return priv->normalCursor;
+}
+
+Cursor
CompScreen::invisibleCursor ()
{
return priv->invisibleCursor;