comparison src/frame-msw.c @ 327:03446687b7cc r21-0-61

Import from CVS: tag r21-0-61
author cvs
date Mon, 13 Aug 2007 10:48:16 +0200
parents 19dcec799385
children 4f79e16b1112
comparison
equal deleted inserted replaced
326:e2671bc7f66a 327:03446687b7cc
391 if (IMAGE_INSTANCEP (f->pointer) 391 if (IMAGE_INSTANCEP (f->pointer)
392 && IMAGE_INSTANCE_TYPE (XIMAGE_INSTANCE (f->pointer)) == IMAGE_POINTER) 392 && IMAGE_INSTANCE_TYPE (XIMAGE_INSTANCE (f->pointer)) == IMAGE_POINTER)
393 { 393 {
394 SetClassLong (FRAME_MSWINDOWS_HANDLE (f), GCL_HCURSOR, 394 SetClassLong (FRAME_MSWINDOWS_HANDLE (f), GCL_HCURSOR,
395 (LONG) XIMAGE_INSTANCE_MSWINDOWS_ICON (f->pointer)); 395 (LONG) XIMAGE_INSTANCE_MSWINDOWS_ICON (f->pointer));
396 /* we only have to do this because GC doesn't cause a mouse
397 event and doesn't give time to event processing even if it
398 did. */
399 SetCursor (XIMAGE_INSTANCE_MSWINDOWS_ICON (f->pointer));
396 } 400 }
397 } 401 }
398 402
399 static void 403 static void
400 mswindows_set_mouse_position (struct window *w, int x, int y) 404 mswindows_set_mouse_position (struct window *w, int x, int y)