aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/DesktopWindow.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-06-08 17:02:36 +0000
committerPierre Ossman <ossman@cendio.se>2011-06-08 17:02:36 +0000
commit835b4ef7cdf7df1f91aa0d337a5a4537011d4742 (patch)
tree9131abc63a9f55bc265c6d77aba6bada7911ba71 /vncviewer/DesktopWindow.cxx
parent494271583e29d6d15036989322c62f88f941bc32 (diff)
downloadtigervnc-835b4ef7cdf7df1f91aa0d337a5a4537011d4742.tar.gz
tigervnc-835b4ef7cdf7df1f91aa0d337a5a4537011d4742.zip
Add support for cursors to the new viewer.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4472 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/DesktopWindow.cxx')
-rw-r--r--vncviewer/DesktopWindow.cxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx
index 8350a42f..52725ed2 100644
--- a/vncviewer/DesktopWindow.cxx
+++ b/vncviewer/DesktopWindow.cxx
@@ -109,14 +109,6 @@ const rfb::PixelFormat &DesktopWindow::getPreferredPF()
}
-// Cursor stuff
-
-void DesktopWindow::setCursor(int width, int height, const Point& hotspot,
- void* data, void* mask)
-{
-}
-
-
void DesktopWindow::setName(const char *name)
{
CharArray windowNameStr;
@@ -185,6 +177,13 @@ void DesktopWindow::resizeFramebuffer(int new_w, int new_h)
}
+void DesktopWindow::setCursor(int width, int height, const Point& hotspot,
+ void* data, void* mask)
+{
+ viewport->setCursor(width, height, hotspot, data, mask);
+}
+
+
void DesktopWindow::resize(int x, int y, int w, int h)
{
Fl_Window::resize(x, y, w, h);