You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A negatvie x, and y is perfectly acceptable for setting the window geometry. in fact it is desirable to do so when you want to include content above and/or to the left of the origin. In particular, if you are using client-side decoration, then you likely want your origin, to be the origin of inner content of the window, but set the window geometry to include the window decorations, which are likely above and to the left of your content.
And the current implementation of set_window_geometry just casts the u32s to i32s.
Note that the documentation for the set_window_geometry does not require the values to be non-negative.