File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ const struct wlr_surface_role xwayland_surface_role = {
110
110
static void xwayland_ready (struct wl_listener *listener, void *data)
111
111
{
112
112
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" );
113
116
}
114
117
115
118
struct wl_listener xwayland_ready_listener = { .notify = xwayland_ready };
@@ -734,6 +737,7 @@ bool wlserver_init( void ) {
734
737
struct wlr_xwayland_server_options xwayland_options = {
735
738
.lazy = false ,
736
739
.enable_wm = false ,
740
+ .no_touch_pointer_emulation = true ,
737
741
};
738
742
wlserver.wlr .xwayland_server = wlr_xwayland_server_create (wlserver.display , &xwayland_options);
739
743
wl_signal_add (&wlserver.wlr .xwayland_server ->events .ready , &xwayland_ready_listener);
You can’t perform that action at this time.
0 commit comments