summaryrefslogtreecommitdiff
path: root/src/lib/ecore_x
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-10-28 16:48:56 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-11-23 13:04:12 +0900
commit4722b685cfb9343ffb240e6655c60cf2af8fcb54 (patch)
tree0b3d61f4726e1c4b76339c70ba1c29488ef73d15 /src/lib/ecore_x
parent63fcd3d83114c2220bd9914d105f3a0c94c2f38a (diff)
ecore_evas/x: Inform WM about borders and shadows
This exploits the existing X Atom "GTK_FRAME_EXTENTS"
Diffstat (limited to 'src/lib/ecore_x')
-rw-r--r--src/lib/ecore_x/Ecore_X_Atoms.h3
-rw-r--r--src/lib/ecore_x/ecore_x_atoms_decl.h7
2 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/ecore_x/Ecore_X_Atoms.h b/src/lib/ecore_x/Ecore_X_Atoms.h
index 8fbe149..69d7f0d 100644
--- a/src/lib/ecore_x/Ecore_X_Atoms.h
+++ b/src/lib/ecore_x/Ecore_X_Atoms.h
@@ -348,4 +348,7 @@ EAPI extern Ecore_X_Atom ECORE_X_ATOM_TEAMWORK_OPEN; /**< @since 1.18 */
348EAPI extern Ecore_X_Atom ECORE_X_ATOM_TEAMWORK_COMPLETED; /**< @since 1.18 */ 348EAPI extern Ecore_X_Atom ECORE_X_ATOM_TEAMWORK_COMPLETED; /**< @since 1.18 */
349EAPI extern Ecore_X_Atom ECORE_X_ATOM_TEAMWORK_PROGRESS; /**< @since 1.18 */ 349EAPI extern Ecore_X_Atom ECORE_X_ATOM_TEAMWORK_PROGRESS; /**< @since 1.18 */
350EAPI extern Ecore_X_Atom ECORE_X_ATOM_TEAMWORK_STARTED; /**< @since 1.18 */ 350EAPI extern Ecore_X_Atom ECORE_X_ATOM_TEAMWORK_STARTED; /**< @since 1.18 */
351
352/* Client-Side Decorations */
353EAPI extern Ecore_X_Atom ECORE_X_ATOM_GTK_FRAME_EXTENTS; /**< @since 1.19 */
351#endif /* _ECORE_X_ATOMS_H */ 354#endif /* _ECORE_X_ATOMS_H */
diff --git a/src/lib/ecore_x/ecore_x_atoms_decl.h b/src/lib/ecore_x/ecore_x_atoms_decl.h
index 64b5764..4e95f2c 100644
--- a/src/lib/ecore_x/ecore_x_atoms_decl.h
+++ b/src/lib/ecore_x/ecore_x_atoms_decl.h
@@ -378,6 +378,10 @@ EAPI Ecore_X_Atom ECORE_X_ATOM_TEAMWORK_COMPLETED = 0;
378EAPI Ecore_X_Atom ECORE_X_ATOM_TEAMWORK_PROGRESS = 0; 378EAPI Ecore_X_Atom ECORE_X_ATOM_TEAMWORK_PROGRESS = 0;
379EAPI Ecore_X_Atom ECORE_X_ATOM_TEAMWORK_STARTED = 0; 379EAPI Ecore_X_Atom ECORE_X_ATOM_TEAMWORK_STARTED = 0;
380 380
381/* Client-Side Decorations */
382EAPI Ecore_X_Atom ECORE_X_ATOM_GTK_FRAME_EXTENTS = 0;
383//EAPI Ecore_X_Atom ECORE_X_ATOM_NET_WM_OPAQUE_REGION = 0;
384
381typedef struct _Atom_Item Atom_Item; 385typedef struct _Atom_Item Atom_Item;
382 386
383struct _Atom_Item 387struct _Atom_Item
@@ -706,5 +710,8 @@ const Atom_Item atom_items[] =
706 { "_TEAMWORK_COMPLETED", &ECORE_X_ATOM_TEAMWORK_COMPLETED }, 710 { "_TEAMWORK_COMPLETED", &ECORE_X_ATOM_TEAMWORK_COMPLETED },
707 { "_TEAMWORK_PROGRESS", &ECORE_X_ATOM_TEAMWORK_PROGRESS }, 711 { "_TEAMWORK_PROGRESS", &ECORE_X_ATOM_TEAMWORK_PROGRESS },
708 { "_TEAMWORK_STARTED", &ECORE_X_ATOM_TEAMWORK_STARTED }, 712 { "_TEAMWORK_STARTED", &ECORE_X_ATOM_TEAMWORK_STARTED },
713
714 { "_GTK_FRAME_EXTENTS", &ECORE_X_ATOM_GTK_FRAME_EXTENTS },
715 //{ "_NET_WM_OPAQUE_REGION", &ECORE_X_ATOM_NET_WM_OPAQUE_REGION },
709}; 716};
710 717