aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-11 02:48:39 -0500
committerDavid Robillard <d@drobilla.net>2023-01-11 03:28:10 -0500
commitab2a8b226f341c38a6a1cd459addbf4e9af83cfc (patch)
tree9a56737bd96d2eed1a83384d3906ca7ddd289dfd /src/x11.h
parenta02dd604ff43264757460ca4d87a2dde6ed7bbf0 (diff)
downloadpugl-ab2a8b226f341c38a6a1cd459addbf4e9af83cfc.tar.gz
pugl-ab2a8b226f341c38a6a1cd459addbf4e9af83cfc.tar.bz2
pugl-ab2a8b226f341c38a6a1cd459addbf4e9af83cfc.zip
X11: Fix positioning of top-level windows with decorations
Diffstat (limited to 'src/x11.h')
-rw-r--r--src/x11.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/x11.h b/src/x11.h
index b2c0e54..bc93630 100644
--- a/src/x11.h
+++ b/src/x11.h
@@ -26,6 +26,7 @@ typedef struct {
Atom WM_DELETE_WINDOW;
Atom PUGL_CLIENT_MSG;
Atom NET_CLOSE_WINDOW;
+ Atom NET_FRAME_EXTENTS;
Atom NET_WM_NAME;
Atom NET_WM_PID;
Atom NET_WM_PING;
@@ -85,6 +86,8 @@ struct PuglInternalsImpl {
PuglEvent pendingConfigure;
PuglEvent pendingExpose;
PuglX11Clipboard clipboard;
+ long frameExtentLeft;
+ long frameExtentTop;
int screen;
const char* cursorName;
bool mapped;