alt-tab preview: restore functionality after move to scene-graph

This commit is contained in:
Consolatis 2022-04-26 23:56:27 +02:00
parent 296e58079f
commit 15a5b710db
7 changed files with 98 additions and 4 deletions

View file

@ -150,6 +150,7 @@ handle_compositor_keybindings(struct wl_listener *listener,
for (int i = 0; i < nsyms; i++) {
if (syms[i] == XKB_KEY_Escape) {
/* cancel */
osd_preview_restore(server);
/* osd_finish() additionally resets cycle_view to NULL */
osd_finish(server);
return true;