Skip to content
Commit 1a2e0be2 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

wayland: Don't raise window when entering fullscreen mode

If the window is inactive and it enters fullscreen mode for some reason,
it can create a situation where keyboard goes to a window occluded by
the fullscreen window.

This change makes XdgToplevelClient::setFullScreen() not raise the
window. It's the responsibility of whoever requested the fullscreen mode
change.

If the configure event is acknowledged, the window's stack layer will be
invalidated and recomputed. If the window is active, it will be promoted
to the ActiveLayer, otherwise its stack position won't change.


(cherry picked from commit 3ba316e6)
parent 0535f2ab
Pipeline #124655 failed with stage
in 27 seconds
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