Code

switch to using desktop method to restore cursor
authorbuliabyak <buliabyak@users.sourceforge.net>
Sun, 18 Mar 2007 04:59:08 +0000 (04:59 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sun, 18 Mar 2007 04:59:08 +0000 (04:59 +0000)
src/flood-context.cpp

index 648d00bcbc5e055d754b2a7f51a0592f242e11a6..40c6c4190a610a8e792a94cc25b429735edbdda6 100644 (file)
@@ -788,8 +788,7 @@ static gint sp_flood_context_root_handler(SPEventContext *event_context, GdkEven
     
                     // restore cursor when done; note that it may already be different if e.g. user 
                     // switched to another tool during interruptible tracing or drawing, in which case do nothing
-                    if (desktop->waiting_cursor)
-                        sp_event_context_update_cursor(event_context);
+                    desktop->clearWaitingCursor();
     
                     ret = TRUE;
                 }