Skip to content

xdg-shell: force configure when pending different

Created by: acrisci

This bug exists in Weston as well.

Run rootston (or weston) like this:

(sleep 1 && gnome-terminal) &
(sleep 1 && gnome-terminal) &

You will see that both of the windows are shown as activated. This is because the pending surface state is set to activated and then fipped back to deactivated before the ack_configure (which is the time at which the next state is updated) so the state_compare function says there is no difference between pending/current/next state and the configure request is deemed not necessary.

cc @sardemff7

Merge request reports