e-modules/comp-scale: fix flickering when initiate pager by mousebinding

- ignore mouse up without mouse_down.
- update config


SVN revision: 57334
This commit is contained in:
Hannes Janetzek 2011-02-26 09:39:11 +00:00
parent b43b05cd45
commit 177637e6cd
2 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#ifndef E_MOD_MAIN_H
#define E_MOD_MAIN_H
#define MOD_CONFIG_FILE_EPOCH 0x0005
#define MOD_CONFIG_FILE_EPOCH 0x0004
#define MOD_CONFIG_FILE_GENERATION 0x0001
#define MOD_CONFIG_FILE_VERSION \
((MOD_CONFIG_FILE_EPOCH << 16) | MOD_CONFIG_FILE_GENERATION)

View File

@ -396,6 +396,9 @@ _pager_win_cb_mouse_up(void *data, Evas *e, Evas_Object *obj, void *event_info)
int x = it->bd->x;
int y = it->bd->y;
if (!it->mouse_down)
return;
it->mouse_down = EINA_FALSE;
if (!scale_state)