mirror of
https://github.com/brl/mutter.git
synced 2025-08-05 08:04:50 +00:00
Move ping to be a vfunc
This commit is contained in:
@@ -4701,12 +4701,7 @@ meta_display_ping_window (MetaWindow *window,
|
||||
"Sending ping with timestamp %u to window %s\n",
|
||||
timestamp, window->desc);
|
||||
|
||||
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);
|
||||
META_WINDOW_GET_CLASS (window)->ping (window, timestamp);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user