debug: log surface configure sizes

This commit is contained in:
Vaxry 2024-02-20 16:16:40 +00:00
parent 0cc6f88f29
commit b9c88e8600

View file

@ -73,6 +73,9 @@ void CSessionLockSurface::configure(const Vector2D& size_, uint32_t serial_) {
serial = serial_; serial = serial_;
size = (size_ * fractionalScale).floor(); size = (size_ * fractionalScale).floor();
logicalSize = size_; logicalSize = size_;
Debug::log(LOG, "Configuring surface for logical {} and pixel {}", logicalSize, size);
if (serial != 0) if (serial != 0)
ext_session_lock_surface_v1_ack_configure(lockSurface, serial); ext_session_lock_surface_v1_ack_configure(lockSurface, serial);