From: Stafford Mitchell Horne Date: Sat, 29 Jul 2006 18:38:12 +0000 (+0000) Subject: Check for locks when the mouse goes down on a pager_window. If the lock X-Git-Tag: submit/efl/20131021.015651~13280 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c021854080e9c06c455919ec2bbe953f4eb73f7;p=platform%2Fupstream%2Fenlightenment.git 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 --- diff --git a/TODO b/TODO index c01c0bf..4b740e9 100644 --- a/TODO +++ b/TODO @@ -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) ]]] [[[ diff --git a/src/modules/pager/e_mod_main.c b/src/modules/pager/e_mod_main.c index 5a051af..d133ca4 100644 --- a/src/modules/pager/e_mod_main.c +++ b/src/modules/pager/e_mod_main.c @@ -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)) {