region: allow ctor from pixman_box32_t

This commit is contained in:
vaxerski
2023-07-20 18:27:28 +02:00
parent d2a8b8c2de
commit a3f6a72a51
2 changed files with 6 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ class CRegion {
CRegion(double x, double y, double w, double h);
/* Create from a wlr_box */
CRegion(wlr_box* box);
/* Create from a pixman_box32_t */
CRegion(pixman_box32_t* box);
CRegion(const CRegion&);
CRegion(CRegion&&);