cursor: prevent press on layer-subsurface from cancelling popup grab

Fixes: #1030
This commit is contained in:
Johan Malm 2023-08-14 23:38:55 +01:00 committed by Johan Malm
parent be1ef03412
commit a89bcc3c60
3 changed files with 7 additions and 1 deletions

View file

@ -423,6 +423,7 @@ get_cursor_context(struct server *server)
* setting the margin with the pointer.
*/
ret.surface = surface;
ret.type = LAB_SSD_LAYER_SUBSURFACE;
return ret;
}
}