diff options
author | David Robillard <d@drobilla.net> | 2023-01-11 02:48:39 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-11 03:28:10 -0500 |
commit | ab2a8b226f341c38a6a1cd459addbf4e9af83cfc (patch) | |
tree | 9a56737bd96d2eed1a83384d3906ca7ddd289dfd /src/x11.h | |
parent | a02dd604ff43264757460ca4d87a2dde6ed7bbf0 (diff) | |
download | pugl-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |