xdg-shell: Move "ping" and "pong" to xdg_shell, not xdg_surface
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 11 Feb 2014 20:22:51 +0000 (12:22 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 12 Feb 2014 00:22:10 +0000 (16:22 -0800)
commit2bff94e057f91f6a483b34421bec2e24b9765f4f
tree3114f7ca640fedf565abfec3de5c3a2368e61649
parentcbb915816249a68c34e8a290ca89c8aae669c461
xdg-shell: Move "ping" and "pong" to xdg_shell, not xdg_surface

Responsivenes is a per-client thing so we move the ping/pong functionality
to xdg_shell.  Having this per-window was carries over from the EWMH
protocol, where the WM has no other way to do this.  In wayland, the
compositor can directly ping the client that owns the surface.
clients/simple-egl.c
clients/simple-shm.c
clients/window.c
desktop-shell/shell.c
protocol/xdg-shell.xml