Commit 31eafba9 authored by Ting-Wei Lan's avatar Ting-Wei Lan
Browse files

build: Fix build when native backend is disabled
parent 5eacdf7a
......@@ -442,6 +442,7 @@ maybe_restore_numlock_state (MetaWaylandKeyboard *keyboard)
static void
maybe_save_numlock_state (MetaWaylandKeyboard *keyboard)
MetaWaylandXkbInfo *xkb_info = &keyboard->xkb_info;
GsdKeyboardNumLockState numlock_state;
int numlock_active;
......@@ -474,6 +475,7 @@ maybe_save_numlock_state (MetaWaylandKeyboard *keyboard)
g_settings_set_enum (keyboard->gsd_settings, "numlock-state", numlock_state);
static void
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