aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/WMCursor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/WMCursor.cxx')
-rw-r--r--win/rfb_win32/WMCursor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/WMCursor.cxx b/win/rfb_win32/WMCursor.cxx
index 54e31cdc..603c7bc3 100644
--- a/win/rfb_win32/WMCursor.cxx
+++ b/win/rfb_win32/WMCursor.cxx
@@ -45,7 +45,7 @@ WMCursor::getCursorInfo() {
CURSORINFO info;
info.cbSize = sizeof(CURSORINFO);
if (!GetCursorInfo(&info))
- throw rdr::SystemException("GetCursorInfo failed", GetLastError());
+ throw rdr::Win32Exception("GetCursorInfo failed", GetLastError());
result.cursor = info.hCursor;
result.position = Point(info.ptScreenPos.x, info.ptScreenPos.y);
result.visible = info.flags & CURSOR_SHOWING;