soc.2009.vulture: a1f189e2: Show correct cursor, not always the arro...

gdick at soc.pidgin.im gdick at soc.pidgin.im
Sat Jun 20 16:30:49 EDT 2009


-----------------------------------------------------------------
Revision: a1f189e27c45270c1b574bfdae7ca5abbc622508
Ancestor: 4948f2cf0806846bc43764a48ae49fec59b1c548
Author: gdick at soc.pidgin.im
Date: 2009-06-20T12:06:42
Branch: im.pidgin.soc.2009.vulture
URL: http://d.pidgin.im/viewmtn/revision/info/a1f189e27c45270c1b574bfdae7ca5abbc622508

Modified files:
        vulture/vultureblist.c

ChangeLog: 

Show correct cursor, not always the arrow.

-------------- next part --------------
============================================================
--- vulture/vultureblist.c	c33b472c2c9f28a04ca7c0e12bc1683092cae5ef
+++ vulture/vultureblist.c	1e1e76c5e8d02cd95cb887581f019194377cece8
@@ -185,7 +185,7 @@ static LRESULT CALLBACK MainWndProc(HWND
 		return 0;
 
 	case WM_SETCURSOR:
-		if(LOWORD(lParam) == HTCLIENT)
+		if(s_hCursor && LOWORD(lParam) == HTCLIENT)
 		{
 			SetCursor(s_hCursor);
 
@@ -216,7 +216,7 @@ static LRESULT CALLBACK MainWndProc(HWND
 						EnableMenuItem(hmenu, i, MF_BYPOSITION | MF_ENABLED);
 					DrawMenuBar(hwnd);
 
-					s_hCursor = LoadCursor(NULL, IDC_ARROW);
+					s_hCursor = NULL;
 				}
 
 				break;


More information about the Commits mailing list