roundtrip before and after destroying a widget
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
a2ae35c794
commit
9c4dd06fa4
1 changed files with 6 additions and 0 deletions
|
|
@ -734,6 +734,12 @@ static void destroy_widget(MwLL handle) {
|
||||||
|
|
||||||
MwLLShow(handle, MwFALSE);
|
MwLLShow(handle, MwFALSE);
|
||||||
|
|
||||||
|
if(wl_display_roundtrip(handle->wayland.display) == -1) {
|
||||||
|
printf("roundtrip failed\n");
|
||||||
|
raise(SIGTRAP);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
switch(handle->wayland.type) {
|
switch(handle->wayland.type) {
|
||||||
case MwLL_WAYLAND_TOPLEVEL:
|
case MwLL_WAYLAND_TOPLEVEL:
|
||||||
destroy_toplevel(handle);
|
destroy_toplevel(handle);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue