Check for locks when the mouse goes down on a pager_window. If the lock

is there ignore the event to move it.
todo--


SVN revision: 24302
This commit is contained in:
Stafford Mitchell Horne 2006-07-29 18:38:12 +00:00
parent 1fe25feec6
commit 3c02185408
2 changed files with 1 additions and 2 deletions

2
TODO
View File

@ -34,8 +34,6 @@ Some of the things (in very short form) that need to be done to E17...
a big xev (xev -g 1280x1024) that won't fit it gets placed offscreen to the
right of zone 2
* BUG: Hiding the label of e_widget_slider causes the slider line to disappear
* BUG: Window locks should be honored by the pager (e.g. Lock me from
changing position)
]]]
[[[

View File

@ -1286,6 +1286,7 @@ _pager_window_cb_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_i
ev = event_info;
pw = data;
if (!pw) return;
if (pw->border->lock_user_location) return;
/* FIXME: make this configurable */
if ((ev->button == 1) || (ev->button == 2))
{