Change-Id: I2ffdb8d385f5cfc07b272505e134f04b16bd7859
}
switch (surface->role) {
- case DS_XDG_SURFACE_ROLE_NONE:
- assert(0 && "not reached");
- break;
case DS_XDG_SURFACE_ROLE_TOPLEVEL:
// TODO
break;
case DS_XDG_SURFACE_ROLE_POPUP:
break;
+ default:
+ assert(0 && "not reached");
+ break;
}
surface->configured = true;
}
switch (surface->role) {
- case DS_XDG_SURFACE_V6_ROLE_NONE:
- assert(0 && "not reached");
- break;
case DS_XDG_SURFACE_V6_ROLE_TOPLEVEL:
// TODO
break;
case DS_XDG_SURFACE_V6_ROLE_POPUP:
break;
+ default:
+ assert(0 && "not reached");
+ break;
}
surface->configured = true;