New window doesn't show on top when keyboard/mouse not connected
I have a kiosk solution on Raspberry Pi that always runs Chromium via XWayland in kiosk fullscreen mode. I also have a video player that sometimes plays a video over the Chromium window, somewhere on the screen. It can be fullscreen video or smaller.
I'm experiencing strange behavior. When I have a keyboard/mouse connected to the device and run the video player, it shows correctly on top of Chromium. But when I disconnect the keyboard/mouse, it doesn't show and I assume it somehow shows behind Chromium or not at all.
This is the way I'm running Weston:
weston-launch -- --continue-without-input --xwayland
chromium-browser --start-fullscreen --kiosk --noerrdialogs --disable-translate --no-first-run --fast --fast-start --disable-infobars --disable-features=TranslateUI --no-sandbox <url>
Any idea why the video player is displayed differently depending on whether keyboard/mouse is connected?