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
devs/princeamd/enlightenment-0.17-elive
Stafford Mitchell Horne 17 years ago
parent 1fe25feec6
commit 3c02185408
  1. 2
      TODO
  2. 1
      src/modules/pager/e_mod_main.c

@ -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)
]]]
[[[

@ -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))
{

Loading…
Cancel
Save