summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-07-04 18:11:32 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-07-05 17:43:59 +0900
commit76a668f022fca3c0e9f0394e6bb09b9fc8542d7b (patch)
tree65465f968d7d790e3c99bcbf487982e48a591f45 /src/lib/ecore_evas
parent4488c51c5fb8d2a5e06bbfdfe622af11bc78c296 (diff)
ecore_evas_x: Track changes in framespace size
If the framespace size has changed and by accident (or in fact, by design) the evas size + framespace size is equal to the size sent by the X server, ecore_evas_x was skipping the resize event. This patch adds a tracking of the framespace size so that we redraw the canvas if it changed. This will fix issues with the main menu (since it's in the framespace, 23 pixels tall with the default theme & scale). Note that all this is partly because the ecore evas size is the size without the framespace, so weird calculations are made during resize... Ref T5482
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_private.h b/src/lib/ecore_evas/ecore_evas_private.h
index 08fed6f9dd..2beabab84c 100644
--- a/src/lib/ecore_evas/ecore_evas_private.h
+++ b/src/lib/ecore_evas/ecore_evas_private.h
@@ -236,6 +236,10 @@ struct _Ecore_Evas
236 } expecting_resize; 236 } expecting_resize;
237 237
238 struct { 238 struct {
239 int w, h;
240 } framespace;
241
242 struct {
239 Eina_Hash *cursors; 243 Eina_Hash *cursors;
240 char *title; 244 char *title;
241 char *name; 245 char *name;