Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "subprojects/wlroots"]
path = subprojects/wlroots
url = https://github.com/swaywm/wlroots.git
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
[submodule "subprojects/libliftoff"]
path = subprojects/libliftoff
url = https://github.com/emersion/libliftoff.git
4 changes: 4 additions & 0 deletions src/wlserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ const struct wlr_surface_role xwayland_surface_role = {
static void xwayland_ready(struct wl_listener *listener, void *data)
{
bXwaylandReady = true;

if (!wlserver.wlr.xwayland_server->options.no_touch_pointer_emulation)
wl_log.infof("Xwayland doesn't support -noTouchPointerEmulation, touch events might get duplicated");
}

struct wl_listener xwayland_ready_listener = { .notify = xwayland_ready };
Expand Down Expand Up @@ -734,6 +737,7 @@ bool wlserver_init( void ) {
struct wlr_xwayland_server_options xwayland_options = {
.lazy = false,
.enable_wm = false,
.no_touch_pointer_emulation = true,
};
wlserver.wlr.xwayland_server = wlr_xwayland_server_create(wlserver.display, &xwayland_options);
wl_signal_add(&wlserver.wlr.xwayland_server->events.ready, &xwayland_ready_listener);
Expand Down
2 changes: 1 addition & 1 deletion subprojects/wlroots
Submodule wlroots updated from 9579d6 to 3e801d