mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
window: Support pinging Wayland surfaces as well
This commit is contained in:
@ -12169,7 +12169,9 @@ meta_window_ping (MetaWindow *window,
|
||||
meta_topic (META_DEBUG_PING,
|
||||
"Sending ping with timestamp %u to window %s\n",
|
||||
timestamp, window->desc);
|
||||
meta_window_send_icccm_message (window,
|
||||
display->atom__NET_WM_PING,
|
||||
timestamp);
|
||||
|
||||
if (window->client_type == META_WINDOW_CLIENT_TYPE_X11)
|
||||
meta_window_send_icccm_message (window, display->atom__NET_WM_PING, timestamp);
|
||||
else
|
||||
meta_wayland_surface_ping (window->surface, timestamp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user