Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_x
Modified Files:
Ecore_X.h ecore_x_events.c ecore_x_window.c
ecore_x_window_prop.c
Log Message:
disable this for now... see comment.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/Ecore_X.h,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -3 -r1.71 -r1.72
--- Ecore_X.h 8 Nov 2004 00:08:26 -0000 1.71
+++ Ecore_X.h 19 Nov 2004 05:49:15 -0000 1.72
@@ -789,6 +789,7 @@
void ecore_x_window_move_resize(Ecore_X_Window win, int x, int y,
int w, int h);
void ecore_x_window_focus(Ecore_X_Window win);
void ecore_x_window_focus_at_time(Ecore_X_Window win, Ecore_X_Time
t);
+Ecore_X_Window ecore_x_window_focus_get(void);
void ecore_x_window_raise(Ecore_X_Window win);
void ecore_x_window_lower(Ecore_X_Window win);
void ecore_x_window_reparent(Ecore_X_Window win, Ecore_X_Window
new_parent, int x, int y);
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_events.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- ecore_x_events.c 24 Oct 2004 05:52:07 -0000 1.35
+++ ecore_x_events.c 19 Nov 2004 05:49:15 -0000 1.36
@@ -820,6 +820,9 @@
void
_ecore_x_event_handle_property_notify(XEvent *xevent)
{
+#if 0 /* for now i disabled this. nice idea though this is - it leaves a lot
+ * to be desired for efficiency that is better left to the app layer
+ */
if (xevent->xproperty.atom == _ecore_x_atom_wm_class)
{
Ecore_X_Event_Window_Prop_Name_Class_Change *e;
@@ -908,6 +911,7 @@
ecore_event_add(ECORE_X_EVENT_WINDOW_PROP_PID_CHANGE, e, NULL, NULL);
}
else
+#endif
{
Ecore_X_Event_Window_Property *e;
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_window.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- ecore_x_window.c 30 Oct 2004 19:19:57 -0000 1.31
+++ ecore_x_window.c 19 Nov 2004 05:49:16 -0000 1.32
@@ -421,6 +421,23 @@
}
/**
+ * gets the focus to the window @p win.
+ * @return The window that has focus.
+ * @ingroup Ecore_X_Window_Focus_Functions
+ */
+Ecore_X_Window
+ecore_x_window_focus_get(void)
+{
+ Window win;
+ int revert_mode;
+
+ win = 0;
+
+ XGetInputFocus(_ecore_x_disp, &win, &revert_mode);
+ return win;
+}
+
+/**
* @defgroup Ecore_X_Window_Z_Order_Group X Window Z Order Functions
*
* Functions that change the Z order of X windows.
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_window_prop.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- ecore_x_window_prop.c 19 Oct 2004 16:50:09 -0000 1.50
+++ ecore_x_window_prop.c 19 Nov 2004 05:49:16 -0000 1.51
@@ -249,8 +249,8 @@
{
char *title;
- title = ecore_x_window_prop_string_get(win, _ecore_x_atom_net_wm_name);
- if (!title) title = ecore_x_window_prop_string_get(win,
_ecore_x_atom_wm_name);
+/* title = ecore_x_window_prop_string_get(win, _ecore_x_atom_net_wm_name);*/
+ title = ecore_x_window_prop_string_get(win, _ecore_x_atom_wm_name);
return title;
}
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs