mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-22 03:08:33 +00:00
surface/wayland: conform to small surface requirements
do not stretch small surfaces, instead center them if they fit.
This commit is contained in:
@@ -203,6 +203,7 @@ class CWindow {
|
||||
// for not spamming the protocols
|
||||
Vector2D m_vReportedPosition;
|
||||
Vector2D m_vReportedSize;
|
||||
Vector2D m_vPendingReportedSize;
|
||||
|
||||
// for restoring floating statuses
|
||||
Vector2D m_vLastFloatingSize;
|
||||
|
Reference in New Issue
Block a user