Fix window wrapping by implementing a minimal ICCCM window manager.

This commit is contained in:
Rémi Bernon
2025-02-27 12:29:02 +01:00
committed by Robbert van der Helm
parent 918d24a16e
commit 2c6c21409c
2 changed files with 101 additions and 1 deletions
+7
View File
@@ -27,6 +27,7 @@
#pragma push_macro("_WIN32")
#undef _WIN32
#include <xcb/xcb.h>
#include <xcb/xcb_icccm.h>
#pragma pop_macro("_WIN32")
#include "../common/configuration.h"
@@ -394,6 +395,12 @@ class Editor {
*/
Size wrapper_window_size_;
/**
* Last received configurations for the host and parent windows.
*/
xcb_configure_notify_event_t host_window_config_;
xcb_configure_notify_event_t parent_window_config_;
/**
* The handle for the window created through Wine that the plugin uses to
* embed itself in.