summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-09-23 20:50:32 +0000
committercorvid <corvid@lavabit.com>2009-09-23 20:50:32 +0000
commitb5b43c4b9d1d969a319db833c65a8eec97d09424 (patch)
treecd0d59359298854f54aa029c7bd9c9dfe61ded52
parentda3f5268045b5edff01b53f475a56cb0795c7bb1 (diff)
get usemap background cursor from image style
-rw-r--r--dw/image.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/image.cc b/dw/image.cc
index b5d6082b..e200e5b9 100644
--- a/dw/image.cc
+++ b/dw/image.cc
@@ -275,7 +275,8 @@ bool Image::motionNotifyImpl (core::EventMotion *event)
if (newLink != currLink) {
currLink = newLink;
clicking = false;
- setCursor(newLink == -1 ? core::style::CURSOR_DEFAULT :
+ /* \todo Using MAP/AREA styles would probably be best */
+ setCursor(newLink == -1 ? getStyle()->cursor :
core::style::CURSOR_POINTER);
(void) emitLinkEnter (newLink, -1, -1, -1);
}