summaryrefslogtreecommitdiff
path: root/src/core/display-private.h
diff options
context:
space:
mode:
authorJoakim Tjernlund <[email protected]>2022-12-19 16:59:06 +0100
committerlukefromdc <[email protected]>2023-01-14 15:32:33 -0500
commit2c0d3843a9e77f849f5f02a8b0ca9253a467e13e (patch)
treeab955b8711caee4554d358d14d8db78a7e5a9687 /src/core/display-private.h
parent318621e5c8ed760f97c180c34990d1560ac7fc05 (diff)
downloadmarco-2c0d3843a9e77f849f5f02a8b0ca9253a467e13e.tar.bz2
marco-2c0d3843a9e77f849f5f02a8b0ca9253a467e13e.tar.xz
Test Xres 1.2 is present
Before using any Xres extension one must call XResQueryExtension() Also make sure Xres 1.2 is available as marco need XResQueryClientIds()
Diffstat (limited to 'src/core/display-private.h')
-rw-r--r--src/core/display-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/display-private.h b/src/core/display-private.h
index 0352c2ad..62be08ce 100644
--- a/src/core/display-private.h
+++ b/src/core/display-private.h
@@ -80,6 +80,7 @@ typedef enum {
struct _MetaDisplay {
char* name;
Display* xdisplay;
+ gboolean have_xres; /* Got XRES >= 1.2 */
Window leader_window;
Window timestamp_pinging_window;