mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
Add wlr_surface::input_region member
This is analogous to the opaque_region member. In addition the code for setting the opaque region is cleaned up.
This commit is contained in:
parent
57690594f4
commit
6367e0bc93
2 changed files with 17 additions and 6 deletions
|
|
@ -81,6 +81,11 @@ struct wlr_surface {
|
|||
* format, this is set to the whole surface.
|
||||
*/
|
||||
pixman_region32_t opaque_region;
|
||||
/**
|
||||
* The current input region, in surface-local coordinates. It is clipped to
|
||||
* the surface bounds.
|
||||
*/
|
||||
pixman_region32_t input_region;
|
||||
/**
|
||||
* `current` contains the current, committed surface state. `pending`
|
||||
* accumulates state changes from the client between commits and shouldn't
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue