Commit 90f4bf4
Hide cursor
Changed files (2)
Diff
@@ -63,6 +63,9 @@ public interface NativeWindow : GLib.Object { /** @return true if the current font can be exported. */ public abstract bool can_export ();++ /** Set cursor visibility */+ public abstract bool set_cursor (bool visible); } }@@ -557,6 +557,12 @@ public class PenTool : Tool { move_selected_handle = false; } + if (move_selected_handle || move_selected) {+ MainWindow.native_window.set_cursor (false);+ } else {+ MainWindow.native_window.set_cursor (true);+ }+ // move control point handles if (move_selected_handle) { set_type_for_moving_handle ();