summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXMouseEvent.c
diff options
context:
space:
mode:
authorwolfsuit <wolfsuit>2003-02-11 07:26:18 (GMT)
committerwolfsuit <wolfsuit>2003-02-11 07:26:18 (GMT)
commit7e1886554eaaffb141641625bb597ff69c58d6b7 (patch)
tree6701c6c6a9b18325b6545d5bbfca5895d52d6af9 /macosx/tkMacOSXMouseEvent.c
parentc059cbbeeb14132e2490fcab534919dacb4f764e (diff)
downloadtk-7e1886554eaaffb141641625bb597ff69c58d6b7.zip
tk-7e1886554eaaffb141641625bb597ff69c58d6b7.tar.gz
tk-7e1886554eaaffb141641625bb597ff69c58d6b7.tar.bz2
2003-02-10 Jim Ingham <jingham@apple.com>
* macosx/tkMacOSXCursor.c (TkMacOSXInstallCursor): Set all theme cursors using SetThemeCursor or SetAnimatedThemeCursors. (TkGetCursorByName): Use the theme cursors for arrow, ibeam, etc. Allow animatedCursor{NUM} form for an animated cursor with count. (TkpSetCursor): Don't reset the cursor if there is no change. * macosx/tkMacOSXMouseEvent.c (GeneratePollingEvents): Don't directly call TkMacOSXInstallCursor, it gets called by the call to Tk_UpdatePointer immediately above.
Diffstat (limited to 'macosx/tkMacOSXMouseEvent.c')
-rw-r--r--macosx/tkMacOSXMouseEvent.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/macosx/tkMacOSXMouseEvent.c b/macosx/tkMacOSXMouseEvent.c
index 12bfc93..07c36c5 100644
--- a/macosx/tkMacOSXMouseEvent.c
+++ b/macosx/tkMacOSXMouseEvent.c
@@ -453,9 +453,6 @@ GeneratePollingEvents(MouseEventData * medPtr)
Tk_UpdatePointer(tkwin, medPtr->global.h, medPtr->global.v,
medPtr->state);
-
- TkMacOSXInstallCursor(0);
-
return true;
}
@@ -737,4 +734,4 @@ TkGenerateButtonEvent(
Tk_UpdatePointer(tkwin, x, y, state);
return true;
-} \ No newline at end of file
+}