mail[Wesnoth-commits] r33377 - /trunk/src/cursor.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by alinktomine on March 07, 2009 - 03:23:
Author: alink
Date: Sat Mar  7 03:23:19 2009
New Revision: 33377

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33377&view=rev
Log:
Revert a change done by r28663 which comes from patch #1093 (fixes for MSVC)
It was probably not a wanted change (calling more functions can't help MSVC)
This fixes various bugs on my side (KDE, Xorg, nvidia, fullscreen)
It also restores the same color cursor system as 1.4 because AFAIK 1.4
doesn't have new (or related to MSVC) cursors bugs.

Modified:
    trunk/src/cursor.cpp

Modified: trunk/src/cursor.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/cursor.cpp?rev=33377&r1=33376&r2=33377&view=diff
==============================================================================
--- trunk/src/cursor.cpp (original)
+++ trunk/src/cursor.cpp Sat Mar  7 03:23:19 2009
@@ -139,7 +139,7 @@
 
 manager::manager()
 {
-       SDL_ShowCursor(use_colour_cursors() ? SDL_DISABLE : SDL_ENABLE);
+       SDL_ShowCursor(SDL_ENABLE);
        set();
 }
 
@@ -174,7 +174,7 @@
        //if (cursor_image != NULL && cursor_image != SDL_GetCursor())
                SDL_SetCursor(cursor_image);
 
-    SDL_ShowCursor(use_colour_cursors() ? SDL_DISABLE : SDL_ENABLE);
+    SDL_ShowCursor(SDL_ENABLE);
 }
 
 void set_dragging(bool drag)




Related Messages


Powered by MHonArc, Updated Sat Mar 07 04:00:22 2009