diff --git a/lazy_player/__init__.py b/lazy_player/__init__.py index ed3f936..588d07c 100644 --- a/lazy_player/__init__.py +++ b/lazy_player/__init__.py @@ -59,6 +59,13 @@ class MainWindow(Gtk.ApplicationWindow): key_controller.connect("key-pressed", self._on_key_pressed) self.add_controller(key_controller) + # Hide mouse cursor + display = Gdk.Display.get_default() + if display: + cursor = Gdk.Cursor.new_from_name("none") + if cursor: + self.set_cursor(cursor) + # Main horizontal box to split the screen main_box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL)