xwayland: Switch to the new Xwayland DDX

This commit is contained in:
Jasper St. Pierre
2014-03-20 13:12:43 -04:00
parent 43730f1660
commit be02fa1120
7 changed files with 106 additions and 74 deletions

View File

@@ -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