(Window) Update class-name at initialisation
[platform/core/uifw/dali-adaptor.git] / adaptors / x11 / window-render-surface.h
index 02b31bd..45c58ff 100644 (file)
@@ -40,11 +40,13 @@ public:
     * @param [in] positionSize the position and size of the surface
     * @param [in] surface can be a X-window or X-pixmap (type must be unsigned int).
     * @param [in] name optional name of surface passed in
+    * @param [in] className optional class name of the surface passed in
     * @param [in] isTransparent if it is true, surface has 32 bit color depth, otherwise, 24 bit
     */
   WindowRenderSurface( Dali::PositionSize positionSize,
                        Any surface,
                        const std::string& name,
+                       const std::string& className,
                        bool isTransparent = false );
 
   /**
@@ -153,6 +155,7 @@ private: // Data
 
   Ecore_X_Window   mX11Window; ///< X-Window
   bool             mNeedToApproveDeiconify; ///< Whether need to send ECORE_X_ATOM_E_DEICONIFY_APPROVE event
+  std::string      mClassName;          ///< The class name of the window
 
 }; // class WindowRenderSurface