[E-devel] Can't select all wms or users in entrance

2005-07-09 Thread littletux
Hello,

I'm trying to solve this problem.
The first attempt is this little patch.
So, it adds scrolling the mouse wheel (maybe page up/down would be
better ?).

It only works in entrance -T test mode (with Nebulous, darkrock and
taillights themes, not default one...), if over the list, but not over
an icon...

In daemon mode the wheel mouse moves the WMs list window ?!

Apart from these issues, what do you think about the patch ?
Any other idea to solve the scrolling problem ?

Regards,

Guillaume B.
--- src/client/main.c.orig	2005-07-09 13:20:11.0 +0200
+++ src/client/main.c	2005-07-09 13:25:36.0 +0200
@@ -501,7 +501,34 @@
   }
}
 }
+static void
+_container_mouse_scroll(void *data, Evas_Object * o, const char *emission,
+  const char *source)
+{
+   int dx, dy;
+   Evas_Object *container = NULL;
+   sscanf(emission,mouse,wheel,%i,%i, dx, dy);
+
+   if ((container = data))
+   {
+  double container_length = 0.0;
 
+  container_length = esmart_container_elements_length_get(container);
+
+  switch (esmart_container_direction_get(container))
+  {
+case CONTAINER_DIRECTION_HORIZONTAL:
+	   esmart_container_scroll(container, - (dx * 40 ));
+   break;
+case CONTAINER_DIRECTION_VERTICAL:
+	   esmart_container_scroll(container, - (dy * 40 ));
+   break;
+default:
+   fprintf(stderr, Unknown Container Orientation\n);
+   break;
+  }
+   }
+}
 /**
  * print the Help associated with the app, shows cli args etc
  * @param argv the argv that was passed from the application
@@ -918,6 +945,10 @@
  entrance.xsessions.list.scroller,
  _container_scroll,
  session-session_container);
+ edje_object_signal_callback_add(edje, mouse,wheel,*,
+ entrance.xsessions.list,
+ _container_mouse_scroll,
+ session-session_container);
   }
   /* See if we have an EntranceUserList part, tell the session to load
  the user list if it exists. */
@@ -935,6 +966,10 @@
  entrance.users.list.scroller,
  _container_scroll,
  session-user_container);
+ edje_object_signal_callback_add(edje, mouse,wheel,*,
+ entrance.users.list,
+ _container_mouse_scroll,
+ session-user_container);
   }
 
   /**


Re: [E-devel] e-16.8 cvs bug: slightly broken focus behavior

2005-07-09 Thread Kim Woelders

Mike Frysinger wrote:

On Tuesday 05 July 2005 07:56 pm, Tres Melton wrote:


On Tue, 2005-07-05 at 19:05 -0400, Mike Frysinger wrote:


i prefer to use the 'focus follows mouse click' behavior but ive noticed
a quirk in using mouse bindings with it ...

for example, say i have two windows open, Eterm and Gimp ... Eterm
currently has the focus (it gets key strokes, uses the window border has
the 'active' color, and is on top) ... if i alt+left click the Gimp
window to move it around, it is raised to the top most level, but it is
not set as active (Eterm still receives my key strokes and the window
border has the 'active' color) ... as soon as i just left click Gimp (no
keyboard modifiers), it is properly set as the active window


I believe kwo is still out till the end of the week but he may be
checking his email.  What are you saying you would like the behavior to
be?  An Alt+Left-click:



alt+left click was an example ... i'm saying that any click/mouse behavior 
should raise  focus the window, regardless of whether there was a key 
modifier in use or not

-mike


This should be fixed now.

/Kim


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Ewl Entry Cursor patch revised

2005-07-09 Thread Nick \Mekius_\ Hughart
Made a few changes for the better.  Cursor now is not shown until text
box is selected the first time and disappears when deselecting.


ewl_entry.patch
Description: Binary data