Skip to content

Commit 862304d

Browse files
committedApr 26, 2022
Reduced xdg_wm_base protocol version to 1 in order to run under Weston
This was done purely for convenience. The version can be bumped back up at any time, but the change will require a more recent version of Weston for testing.
1 parent 4051588 commit 862304d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/java.desktop/unix/native/libawt_wlawt/WLToolkit.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ static void registry_global(void *data, struct wl_registry *wl_registry,
6767
} else if (strcmp(interface, wl_compositor_interface.name) == 0) {
6868
wl_compositor = wl_registry_bind(wl_registry, name, &wl_compositor_interface, 4);
6969
} else if (strcmp(interface, xdg_wm_base_interface.name) == 0) {
70-
xdg_wm_base = wl_registry_bind(wl_registry, name, &xdg_wm_base_interface, 3);
70+
xdg_wm_base = wl_registry_bind(wl_registry, name, &xdg_wm_base_interface, 1);
7171
xdg_wm_base_add_listener(xdg_wm_base, &xdg_wm_base_listener, NULL);
7272
}
7373
}

0 commit comments

Comments
 (0)
Please sign in to comment.