]> git.tdb.fi Git - libs/gui.git/blob - source/graphics/x11/window_platform.h
Track window positions
[libs/gui.git] / source / graphics / x11 / window_platform.h
1 #ifndef MSP_GRAPHICS_WINDOW_PLATFORM_H_
2 #define MSP_GRAPHICS_WINDOW_PLATFORM_H_
3
4 #include <X11/Xlib.h>
5
6 namespace Msp {
7 namespace Graphics {
8
9 typedef ::Window WindowHandle;
10
11 struct PlatformWindowPrivate
12 {
13         Atom wm_delete_window;
14         Cursor invisible_cursor;
15         bool reparented;
16         int rel_x;
17         int rel_y;
18 };
19
20 struct PlatformEvent
21 {
22         XEvent xevent;
23 };
24
25 } // namespace Graphics
26 } // namespace Msp
27
28 #endif