Skip to content

Commit

Permalink
persist keyboard hide state across sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
galister committed Nov 24, 2024
1 parent 26a872e commit 1221882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use crate::{
hid::{get_keymap_wl, get_keymap_x11},
overlays::{
anchor::create_anchor,
keyboard::create_keyboard,
keyboard::{create_keyboard, KEYBOARD_NAME},
screen::WlxClientAlias,
watch::{create_watch, WATCH_NAME},
},
Expand Down Expand Up @@ -115,7 +115,7 @@ where
overlays.insert(watch.state.id.0, watch);

let mut keyboard = create_keyboard(app, keymap)?;
keyboard.state.show_hide = true;
keyboard.state.show_hide = show_screens.arc_get(KEYBOARD_NAME);
keyboard.state.want_visible = false;
overlays.insert(keyboard.state.id.0, keyboard);

Expand Down

0 comments on commit 1221882

Please sign in to comment.