wayland: apply full region to 1st-level children
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
801c5e03d4
commit
ee5e04c64e
1 changed files with 5 additions and 0 deletions
|
|
@ -26,6 +26,11 @@ void MwLLWaylandRegionSetup(MwLL handle) {
|
|||
|
||||
if(!handle->wayland.parent)
|
||||
wl_region_add(handle->wayland.region, 0, 0, width, height);
|
||||
else {
|
||||
if(!handle->wayland.parent->wayland.parent) {
|
||||
wl_region_add(handle->wayland.region, 0, 0, width, height);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(handle->wayland.type == MwLL_WAYLAND_TOPLEVEL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue