[gimp] app: fix rectangle and ellipse select tool cursors



commit d521510967f1da96e0c6693423fc316b1df2146b
Author: Michael Natterer <mitch gimp org>
Date:   Tue Jul 4 22:27:31 2017 +0200

    app: fix rectangle and ellipse select tool cursors
    
    Actually use the cursor returned by gimp_tool_widget_get_cursor(),
    not ignoring stuff seems to make stuff work...

 app/tools/gimprectangleselecttool.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimprectangleselecttool.c b/app/tools/gimprectangleselecttool.c
index f5f2638..39ed936 100644
--- a/app/tools/gimprectangleselecttool.c
+++ b/app/tools/gimprectangleselecttool.c
@@ -463,6 +463,9 @@ gimp_rectangle_select_tool_cursor_update (GimpTool         *tool,
     {
       gimp_tool_widget_get_cursor (private->widget, coords, state,
                                    &cursor, NULL, &modifier);
+
+      gimp_tool_control_set_cursor          (tool->control, cursor);
+      gimp_tool_control_set_cursor_modifier (tool->control, modifier);
     }
 
   /* override the previous if shift or ctrl are down */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]