mirror of
https://github.com/brl/mutter.git
synced 2025-08-05 16:14:51 +00:00
xwayland: Switch to the new Xwayland DDX
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
|
||||
#include "x11/window-x11.h"
|
||||
#include "x11/xprops.h"
|
||||
#include "wayland/meta-xwayland.h"
|
||||
#include "wayland/meta-wayland-private.h"
|
||||
#include "meta-surface-actor-wayland.h"
|
||||
|
||||
@@ -1536,7 +1537,12 @@ handle_other_xevent (MetaDisplay *display,
|
||||
case ClientMessage:
|
||||
if (window)
|
||||
{
|
||||
if (!frame_was_receiver)
|
||||
if (event->xclient.message_type == display->atom_WL_SURFACE_ID)
|
||||
{
|
||||
guint32 surface_id = event->xclient.data.l[0];
|
||||
meta_xwayland_handle_wl_surface_id (window, surface_id);
|
||||
}
|
||||
else if (!frame_was_receiver)
|
||||
meta_window_x11_client_message (window, event);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user