aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arctica-greeter.vala2
-rw-r--r--src/dash-entry.vala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index 5fccbef..f0abb4d 100644
--- a/src/arctica-greeter.vala
+++ b/src/arctica-greeter.vala
@@ -497,7 +497,7 @@ public class ArcticaGreeter
/* Set the cursor to not be the crap default */
debug ("Setting cursor");
- Gdk.get_default_root_window ().set_cursor (new Gdk.Cursor (Gdk.CursorType.LEFT_PTR));
+ Gdk.get_default_root_window ().set_cursor (new Gdk.Cursor.for_display (Gdk.Display.get_default (), Gdk.CursorType.LEFT_PTR));
bool do_show_version = false;
bool do_test_mode = false;
diff --git a/src/dash-entry.vala b/src/dash-entry.vala
index 471f518..cc51767 100644
--- a/src/dash-entry.vala
+++ b/src/dash-entry.vala
@@ -234,7 +234,7 @@ public class DashEntry : Gtk.Entry, Fadable
{
base.realize ();
- var cursor = new Gdk.Cursor (Gdk.CursorType.LEFT_PTR);
+ var cursor = new Gdk.Cursor.for_display (get_display (), Gdk.CursorType.LEFT_PTR);
var attrs = Gdk.WindowAttr ();
attrs.x = 0;
attrs.y = 0;