Skip to content
Commit bd8a6da2 authored by Daniel Stone's avatar Daniel Stone
Browse files

desktop-shell: Map input panel exactly once



When the input panel surface gets something committed to it, we have
content and thus the surface has become mapped. Do this from within the
input-panel surface committed handler.

When we want to show the input panel, this is when we map the view. Do
this exactly once as well, and make sure that we don't attempt to map
the view with an unmapped surface.

This regularises the logic to be the same as almost all the other
special surface users.

Signed-off-by: default avatarDaniel Stone <daniels@collabora.com>
parent 93e4f4e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment