summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_widget.h
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-12-07 16:59:13 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-04-20 14:38:57 +0200
commitb53f3edd15b0590d0c6059e2bfb8f5829a7a7ae8 (patch)
tree0731d8c433e723c237c0f5cf912cec93c6976afd /src/lib/elementary/elm_widget.h
parent67a697fedd098df087fb1a530a78cf846dca8953 (diff)
elm_widget: update focus register work
now it trackes changes of the parent manager. And registers more reliable.
Diffstat (limited to 'src/lib/elementary/elm_widget.h')
-rw-r--r--src/lib/elementary/elm_widget.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h
index 561afbc456..f9aa7a0e55 100644
--- a/src/lib/elementary/elm_widget.h
+++ b/src/lib/elementary/elm_widget.h
@@ -457,7 +457,6 @@ typedef struct _Elm_Widget_Smart_Data
457 Eina_Bool on_destroy: 1; /**< This is true when the widget is on destruction(general widget destructor). */ 457 Eina_Bool on_destroy: 1; /**< This is true when the widget is on destruction(general widget destructor). */
458 Eina_Bool provider_lookup : 1; /**< This is true when efl_provider_find is currently walking the tree */ 458 Eina_Bool provider_lookup : 1; /**< This is true when efl_provider_find is currently walking the tree */
459 struct { 459 struct {
460 Efl_Ui_Focus_Manager *chained_manager; //manager which is the correct according to the chain
461 Efl_Ui_Focus_Manager *manager; //manager which is currently regsitered in 460 Efl_Ui_Focus_Manager *manager; //manager which is currently regsitered in
462 Eina_Bool logical; 461 Eina_Bool logical;
463 } focus; 462 } focus;
@@ -465,6 +464,10 @@ typedef struct _Elm_Widget_Smart_Data
465 int child_count; 464 int child_count;
466 Efl_Ui_Focus_Object *parent; 465 Efl_Ui_Focus_Object *parent;
467 } logical; 466 } logical;
467 struct {
468 Efl_Ui_Focus_Manager *manager;
469 Efl_Ui_Focus_User *provider;
470 } manager;
468} Elm_Widget_Smart_Data; 471} Elm_Widget_Smart_Data;
469 472
470/** 473/**