we only need xdg_wm_base support

This commit is contained in:
IoIxD 2025-12-07 19:08:29 -07:00
commit 631579642c

View file

@ -561,10 +561,9 @@ static void setup_toplevel(MwLL r, int x, int y) {
// Check that all globals we require are available
if(
r->wayland.compositor == NULL ||
WAYLAND_GET_INTERFACE(r->wayland, xdg_wm_base)->context == NULL ||
WAYLAND_GET_INTERFACE(r->wayland, wl_seat)->context == NULL) {
WAYLAND_GET_INTERFACE(r->wayland, xdg_wm_base)->context == NULL) {
printf("no wl_shm, wl_compositor, wl_seat, or xdg_wm_base support\n");
printf("no xdg_wm_base support\n");
raise(SIGTRAP);
return;
}