[digesting_libdecor] fix bug in xdg_surface_ack_configure call
parent
5d0ae7d673
commit
2041d28ba0
|
|
@ -1244,9 +1244,9 @@ int main(){
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctx.has_cached_config){
|
if (ctx.has_cached_config){
|
||||||
|
xdg_surface_ack_configure(ctx.xdg_surface, ctx.cached_config.serial);
|
||||||
ctx.has_cached_config = 0;
|
ctx.has_cached_config = 0;
|
||||||
memset(&ctx.cached_config, 0, sizeof ctx.cached_config);
|
memset(&ctx.cached_config, 0, sizeof ctx.cached_config);
|
||||||
xdg_surface_ack_configure(ctx.xdg_surface, ctx.cached_config.serial);
|
|
||||||
}
|
}
|
||||||
wl_surface_commit(ctx.wl_surface);
|
wl_surface_commit(ctx.wl_surface);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue