CI / test (push) Failing after 15s
Chrome's context menu opened and closed at once: when a client created an xdg_popup the compositor moved keyboard focus to it straight away, and the wl_keyboard.leave on the window made Chrome dismiss the menu. Popups now only take the keyboard when they ask for a grab (xdg_popup.grab, as Qt menus do) and once they have a buffer; Chrome's grab-less menus leave focus on the window. Also: - honour xdg_positioner constraint adjustment (flip, slide, resize) so the configure tells the client where its menu really is, instead of the host silently nudging it on screen (Chrome then took the button release as a click on a menu item); - answer xdg_popup.reposition with repositioned + configure (it was ignored, so clients waiting for it stalled); - place popups by their window geometry, so Chrome's client-drawn menu shadow no longer shifts the menu right and down. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hikqzveCoytgF4Uyvh