Comment out unused wayland code to avoid compilation errors with clang
This commit is contained in:
parent
4802c4d11c
commit
5aaf3a9c39
@ -534,23 +534,23 @@ public:
|
|||||||
int32_t width, int32_t height,
|
int32_t width, int32_t height,
|
||||||
wl_array* states)
|
wl_array* states)
|
||||||
{
|
{
|
||||||
void* state_p;
|
//void* state_p;
|
||||||
|
|
||||||
wl_array_for_each(state_p, states)
|
//wl_array_for_each(state_p, states)
|
||||||
{
|
//{
|
||||||
uint32_t state = *(uint32_t*)state_p;
|
// uint32_t state = *(uint32_t*)state_p;
|
||||||
|
//
|
||||||
switch (state)
|
// switch (state)
|
||||||
{
|
// {
|
||||||
case ZXDG_TOPLEVEL_V6_STATE_FULLSCREEN:
|
// case ZXDG_TOPLEVEL_V6_STATE_FULLSCREEN:
|
||||||
case ZXDG_TOPLEVEL_V6_STATE_MAXIMIZED:
|
// case ZXDG_TOPLEVEL_V6_STATE_MAXIMIZED:
|
||||||
case ZXDG_TOPLEVEL_V6_STATE_ACTIVATED:
|
// case ZXDG_TOPLEVEL_V6_STATE_ACTIVATED:
|
||||||
case ZXDG_TOPLEVEL_V6_STATE_RESIZING:
|
// case ZXDG_TOPLEVEL_V6_STATE_RESIZING:
|
||||||
break;
|
// break;
|
||||||
default:
|
// default:
|
||||||
break;
|
// break;
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void xdg_toplevel_close(void* data, zxdg_toplevel_v6* xdg_toplevel)
|
static void xdg_toplevel_close(void* data, zxdg_toplevel_v6* xdg_toplevel)
|
||||||
|
Loading…
Reference in New Issue
Block a user