Skip to content

XdgToplevelWindow: Consider app responsive only if sent ping was received

Pass the serial specified in the event back to the compositor by sending a "pong" request back with the specified serial.


Something is a bit fishy, though. When switching windows I get pongs from basically all windows, and all with the same serial. Aren’t we supposed to just send a ping to whatever window we’re focussing? And even then, shouldn’t nextSerial() increase every time?

Merge request reports