summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index ddd0579..6d629ad 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -152,7 +152,11 @@ MainWindow* MainWindow::create() {
void MainWindow::on_realize() {
Gtk::Window::on_realize();
+#ifdef HAVE_GTK3
+ get_window()->set_cursor(Gdk::Cursor::create(Gdk::WATCH));
+#else
get_window()->set_cursor(Gdk::Cursor(Gdk::WATCH));
+#endif /* HAVE_GTK3 */
}
MainWindow::~MainWindow() {