Check for locks when the mouse goes down on a pager_window. If the lock
authorStafford Mitchell Horne <shorne@gmail.com>
Sat, 29 Jul 2006 18:38:12 +0000 (18:38 +0000)
committerStafford Mitchell Horne <shorne@gmail.com>
Sat, 29 Jul 2006 18:38:12 +0000 (18:38 +0000)
is there ignore the event to move it.
todo--

SVN revision: 24302

TODO
src/modules/pager/e_mod_main.c

diff --git a/TODO b/TODO
index c01c0bf..4b740e9 100644 (file)
--- 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)
 ]]]
 
 [[[
index 5a051af..d133ca4 100644 (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))
      {