File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ const struct wlr_surface_role xwayland_surface_role = {
110110static void xwayland_ready (struct wl_listener *listener, void *data)
111111{
112112 bXwaylandReady = true ;
113+
114+ if (!wlserver.wlr .xwayland_server ->options .no_touch_pointer_emulation )
115+ wl_log.infof (" Xwayland doesn't support -noTouchPointerEmulation, touch events might get duplicated" );
113116}
114117
115118struct wl_listener xwayland_ready_listener = { .notify = xwayland_ready };
@@ -734,6 +737,7 @@ bool wlserver_init( void ) {
734737 struct wlr_xwayland_server_options xwayland_options = {
735738 .lazy = false ,
736739 .enable_wm = false ,
740+ .no_touch_pointer_emulation = true ,
737741 };
738742 wlserver.wlr .xwayland_server = wlr_xwayland_server_create (wlserver.display , &xwayland_options);
739743 wl_signal_add (&wlserver.wlr .xwayland_server ->events .ready , &xwayland_ready_listener);
You can’t perform that action at this time.
0 commit comments