Closed gg-rewrite closed 4 years ago
I don't like the way -2
is used as a magic constant, can you define it and then use it with its name? Maybe static constexpr int32_t anchor_pinned_bottom = -2;
And done cc69a0388423493f82f3ca8887f75442dbcb0426.
Thanks, all seems good now!
Added a special anchor ("pinned") to be able to push windows from below the keyboard and position it at the bottom of the screen.
No special window resize code is needed as the width of the keyboard's window is set automatically by the compositor in exlusive zone mode.