mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] x11: provide an empty rect region to XPresentPixmap
Providing None informs the comppositor that there is full screen damage, instead we provide an empty rectangle to prevent this behaviour.
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xatom.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/extensions/Xfixes.h>
|
||||
|
||||
#include <GL/glx.h>
|
||||
|
||||
@@ -42,6 +43,7 @@ struct X11DSState
|
||||
|
||||
uint32_t presentSerial;
|
||||
Pixmap presentPixmap;
|
||||
XserverRegion presentRegion;
|
||||
LGEvent * frameEvent;
|
||||
|
||||
LGThread * eventThread;
|
||||
|
Reference in New Issue
Block a user