diff options
author | Robert Tari <robert@tari.in> | 2023-05-08 04:13:00 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2023-05-08 04:13:00 +0200 |
commit | c3820b965fe2476cd0e443d7ad41d20dfde81f8e (patch) | |
tree | 86ac0bb071af05adcbce9413650a09c9ea33bf01 /src | |
parent | 886d9b70cbe8d948843d75f648f852c437c0a6e2 (diff) | |
download | arctica-greeter-c3820b965fe2476cd0e443d7ad41d20dfde81f8e.tar.gz arctica-greeter-c3820b965fe2476cd0e443d7ad41d20dfde81f8e.tar.bz2 arctica-greeter-c3820b965fe2476cd0e443d7ad41d20dfde81f8e.zip |
src/idle-monitor.vala: Fix Gdk.Display -> Gdk.X11.Display casting
fixes https://github.com/ArcticaProject/arctica-greeter/issues/48
Diffstat (limited to 'src')
-rw-r--r-- | src/idle-monitor.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/idle-monitor.vala b/src/idle-monitor.vala index b8e8963..72c21e1 100644 --- a/src/idle-monitor.vala +++ b/src/idle-monitor.vala @@ -83,7 +83,8 @@ public class IdleMonitor if (d is Gdk.X11.Display) { - display = d.get_xdisplay (); + Gdk.X11.Display pX11Display = (Gdk.X11.Display) d; + display = pX11Display.get_xdisplay (); } int sync_error_base; |