wayland/screencopy: log more information during buffer creation

This commit is contained in:
outfoxxed 2025-01-15 02:52:08 -08:00
parent c2ed5bf559
commit ca79715cce
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
5 changed files with 67 additions and 42 deletions

View file

@ -17,7 +17,9 @@
namespace qs::wayland::buffer::shm {
namespace {
Q_LOGGING_CATEGORY(logShm, "quickshell.wayland.buffer.shm", QtWarningMsg);
}
bool WlShmBuffer::isCompatible(const WlBufferRequest& request) const {
if (QSize(static_cast<int>(request.width), static_cast<int>(request.height)) != this->size()) {