aboutsummaryrefslogtreecommitdiff
path: root/src/idle-monitor.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/idle-monitor.vala')
-rw-r--r--src/idle-monitor.vala3
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;