diff options
Diffstat (limited to 'libcaribou/scanner.vala')
-rw-r--r-- | libcaribou/scanner.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcaribou/scanner.vala b/libcaribou/scanner.vala index 7d14a0a..c2b2b94 100644 --- a/libcaribou/scanner.vala +++ b/libcaribou/scanner.vala @@ -225,7 +225,7 @@ namespace Caribou { unconfigure_switch (); - XAdapter xadapter = XAdapter.get_default(); + DisplayAdapter xadapter = DisplayAdapter.get_default(); if (switch_device == "keyboard" && keyboard_key != null) { uint keyval = Gdk.keyval_from_name (keyboard_key); xadapter.register_key_func (keyval, switch_pressed); |