Skip to content

Instantly share code, notes, and snippets.

@dextero
dextero / gist:05f14b287e6c0157347229cf5f361270
Created March 7, 2024 19:43
gbm.rs bitflags update to v2: cargo public-api diff 0.14.2
Removed items from the public API
=================================
(none)
Changed items in the public API
===============================
-pub struct gbm::BufferObjectFlags
+pub struct gbm::BufferObjectFlags(_)
Added items to the public API
@dextero
dextero / x11vnc-blackout-clip-offset.patch
Last active August 29, 2015 14:01
x11vnc patch to fix invalid blackout region coordinates when using -clip parameter
diff --git a/x11vnc/xinerama.c b/x11vnc/xinerama.c
index 001e2ca..0d2ca71 100644
--- a/x11vnc/xinerama.c
+++ b/x11vnc/xinerama.c
@@ -98,6 +98,13 @@ static void initialize_blackouts(char *list) {
if (y > Y) {
t = Y; Y = y; y = t;
}
+
+ /* take clipping region into account */