discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=0692c736d049925da0a9996eb61dba1288ee01ae

commit 0692c736d049925da0a9996eb61dba1288ee01ae
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Sep 24 13:44:32 2015 -0400

    broadcast support for _GTK_FRAME_EXTENTS
    
    this is not actually supported yet, so behavior of windows using this
    feature will be more wayland-like, eg. geometry determined by area
    of window+shadow
    
    fix T2744
---
 src/bin/e_hints.c | 7 ++++++-
 src/bin/e_hints.h | 2 ++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_hints.c b/src/bin/e_hints.c
index 1d632b8..1aab487 100644
--- a/src/bin/e_hints.c
+++ b/src/bin/e_hints.c
@@ -13,6 +13,8 @@ E_API Ecore_X_Atom ATM_GNOME_SM_PROXY = 0;
 E_API Ecore_X_Atom ATM_ENLIGHTENMENT_COMMS = 0;
 E_API Ecore_X_Atom ATM_ENLIGHTENMENT_VERSION = 0;
 E_API Ecore_X_Atom ATM_ENLIGHTENMENT_SCALE = 0;
+
+E_API Ecore_X_Atom ATM_GTK_FRAME_EXTENTS = 0;
 #endif
 
 EINTERN void
@@ -26,7 +28,8 @@ e_hints_init(Ecore_Window root, Ecore_Window propwin)
       "GNOME_SM_PROXY",
       "ENLIGHTENMENT_COMMS",
       "ENLIGHTENMENT_VERSION",
-      "ENLIGHTENMENT_SCALE"
+      "ENLIGHTENMENT_SCALE",
+      "_GTK_FRAME_EXTENTS",
    };
    Ecore_X_Atom atoms[6];
    Ecore_X_Atom supported[43];
@@ -43,6 +46,7 @@ e_hints_init(Ecore_Window root, Ecore_Window propwin)
    ATM_ENLIGHTENMENT_COMMS = atoms[3];
    ATM_ENLIGHTENMENT_VERSION = atoms[4];
    ATM_ENLIGHTENMENT_SCALE = atoms[5];
+   ATM_GTK_FRAME_EXTENTS = atoms[6];
 
    supported_num = 0;
    /* Set what hints we support */
@@ -121,6 +125,7 @@ e_hints_init(Ecore_Window root, Ecore_Window propwin)
    supported[supported_num++] = ECORE_X_ATOM_E_VIDEO_PARENT;
    supported[supported_num++] = ECORE_X_ATOM_E_VIDEO_POSITION;
 
+   supported[supported_num++] = ATM_GTK_FRAME_EXTENTS;
 
 
 
diff --git a/src/bin/e_hints.h b/src/bin/e_hints.h
index 4224d59..a96c50b 100644
--- a/src/bin/e_hints.h
+++ b/src/bin/e_hints.h
@@ -55,6 +55,8 @@ extern E_API Ecore_X_Atom ATM_GNOME_SM_PROXY;
 extern E_API Ecore_X_Atom ATM_ENLIGHTENMENT_COMMS;
 extern E_API Ecore_X_Atom ATM_ENLIGHTENMENT_VERSION;
 extern E_API Ecore_X_Atom ATM_ENLIGHTENMENT_SCALE;
+
+extern E_API Ecore_X_Atom ATM_GTK_FRAME_EXTENTS;
 #endif
 #endif
 #endif

-- 


Reply via email to