The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Show cursor in dialog

Changes made to libbirdfont/MainWindow.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/MainWindow.vala +++ libbirdfont/MainWindow.vala @@ -75,6 +75,16 @@ dialog = d; dialog.visible = true; GlyphCanvas.redraw (); + + set_cursor (NativeWindow.VISIBLE); + } + + public static void set_cursor (int flags) { + if (dialog.visible) { + native_window.set_cursor (NativeWindow.VISIBLE); + } else { + native_window.set_cursor (flags); + } } public static void show_message (string text) {