xdg_surface window geometry calculation
Hi,
Considering the guidelines outlined here, I am seeking to understand why subsurfaces need to be factored in when determining the window geometry of an xdg_surface
. For instance, let's consider a wl_surface
with dimensions (100,100)
:
If the client never sets the window geometry and it has a subsurface positioned at (-10,-10)
with dimensions (1,1)
, shouldn't the geometry simply be (0,0,100,100)
? Why is it necessary to account for subsurfaces, and what would be the window geometry in this scenario?