xwayland: send zero scaling to xwayland if enabled

This commit is contained in:
vaxerski 2023-06-23 21:14:04 +02:00
parent 69fae18e63
commit 01f85a09a9
15 changed files with 109 additions and 11 deletions

View file

@ -42,10 +42,10 @@ class Vector2D {
Vector2D operator/(const Vector2D& a) const {
return Vector2D(this->x / a.x, this->y / a.y);
}
double distance(const Vector2D& other);
Vector2D clamp(const Vector2D& min, const Vector2D& max = Vector2D());
double distance(const Vector2D& other) const;
Vector2D floor();
Vector2D clamp(const Vector2D& min, const Vector2D& max = Vector2D()) const;
Vector2D floor() const;
};