Added X11 window manager resize handling
[platform/core/uifw/dali-adaptor.git] / dali / internal / window-system / x11 / window-system-x.h
index 11e1022..67b41d9 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_WINDOW_SYSTEM_X11_WINDOW_SYSTEM_H
 
 /*
- * COPYRIGHT (c) 2022 Samsung Electronics Co., Ltd.
+ * COPYRIGHT (c) 2023 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -92,6 +92,18 @@ public:
   };
 
   /**
+   * Event struct that is sent when a window is moved/resized/lowered/raised
+   */
+  struct X11ConfigureNotifyEvent : public X11Event
+  {
+    int      x; // Relative to parent window's origin.
+    int      y;
+    int      width;
+    int      height;
+    ::Window above; // The window that this is now above.
+  };
+
+  /**
    * Event struct that is sent when a window property is changed.
    */
   struct X11PropertyNotifyEvent : public X11Event