Comment out unused wayland code to avoid compilation errors with clang

This commit is contained in:
Deve 2018-01-26 21:41:39 +01:00
parent 4802c4d11c
commit 5aaf3a9c39

View File

@ -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)