From ab2a8b226f341c38a6a1cd459addbf4e9af83cfc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 11 Jan 2023 02:48:39 -0500 Subject: X11: Fix positioning of top-level windows with decorations --- src/x11.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/x11.h') 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; -- cgit v1.2.1