summaryrefslogtreecommitdiff
path: root/src/bin/e_shelf.h
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-09-07 18:59:43 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-09-07 18:59:43 +0000
commitc61c1073461788b1c3477ab58d7eeb1930d1dc2a (patch)
tree9365352a718ed6b7fbd80fe3f1003c1809ff381e /src/bin/e_shelf.h
parent4e68cc3ceb26c7376c0d16b3b5269030158475bf (diff)
shelves now only watch all mouse events when autohide is set since a static shelf doesn't need to care about it; this will save some amount of cpu I guess
this also breaks the use of e,state,focused programs on non-autohiding shelves, but nothing I'm aware of has ever used this, sooooooo :) also probably fixes ticket #1467 SVN revision: 76320
Diffstat (limited to 'src/bin/e_shelf.h')
-rw-r--r--src/bin/e_shelf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/e_shelf.h b/src/bin/e_shelf.h
index ee2b724..5217445 100644
--- a/src/bin/e_shelf.h
+++ b/src/bin/e_shelf.h
@@ -38,6 +38,7 @@ struct _E_Shelf
38 float instant_delay; 38 float instant_delay;
39 Ecore_Timer *instant_timer; 39 Ecore_Timer *instant_timer;
40 Eina_List *handlers; 40 Eina_List *handlers;
41 Ecore_Event_Handler *autohide;
41 unsigned char fit_along : 1; 42 unsigned char fit_along : 1;
42 unsigned char fit_size : 1; 43 unsigned char fit_size : 1;
43 unsigned char hidden : 1; 44 unsigned char hidden : 1;
@@ -89,6 +90,6 @@ EAPI void e_shelf_popup_set(E_Shelf *es, int popup);
89EAPI E_Shelf *e_shelf_config_new(E_Zone *zone, E_Config_Shelf *cf_es); 90EAPI E_Shelf *e_shelf_config_new(E_Zone *zone, E_Config_Shelf *cf_es);
90EAPI void e_shelf_name_set(E_Shelf *es, const char *name); 91EAPI void e_shelf_name_set(E_Shelf *es, const char *name);
91EAPI void e_shelf_rename_dialog(E_Shelf *es); 92EAPI void e_shelf_rename_dialog(E_Shelf *es);
92 93EAPI void e_shelf_autohide_set(E_Shelf *es, Eina_Bool autohide);
93#endif 94#endif
94#endif 95#endif