aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-10-05 16:36:57 +0100
committerVaxry <[email protected]>2024-10-05 16:36:57 +0100
commit0ec6072a290051a03ab66cfb9bc616b2f5540e64 (patch)
tree31433191ade270b72f54381cc90e4a4ef8eb7c2a
parent3ca699debffbb97085888835a33f20d0c542128d (diff)
downloadHyprland-0ec6072a290051a03ab66cfb9bc616b2f5540e64.tar.gz
Hyprland-0ec6072a290051a03ab66cfb9bc616b2f5540e64.zip
single-pixel: set buffer size to 1,1
-rw-r--r--src/protocols/SinglePixel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/SinglePixel.cpp b/src/protocols/SinglePixel.cpp
index 0595cce5..d800539d 100644
--- a/src/protocols/SinglePixel.cpp
+++ b/src/protocols/SinglePixel.cpp
@@ -17,6 +17,8 @@ CSinglePixelBuffer::CSinglePixelBuffer(uint32_t id, wl_client* client, CColor co
success = texture->m_iTexID;
+ size = {1, 1};
+
if (!success)
Debug::log(ERR, "Failed creating a single pixel texture: null texture id");
}