Commit e3c26253 authored by Rui Matos's avatar Rui Matos

daemon: Check that we're using the X backend before using it

This won't make us work correctly on other backends but at least we
won't print criticals anymore.
parent e808f974
......@@ -54,7 +54,10 @@ namespace Caribou {
uint32 get_timestamp () {
return Gdk.X11Display.get_user_time (display);
if (display is Gdk.X11Display)
return Gdk.X11Display.get_user_time (display);
return 0;
void set_entry_location (Atspi.Accessible acc) throws Error {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment