Enlightenment CVS committal
Author : ningerso
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_x
Modified Files:
ecore_x_events.c
Log Message:
Fallback to attempt 16 bit format accepts on selection notifies when the
8 bit format fails. This fixes receiving application/x-color from gimp but is
probably not an ideal solution.
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_x/ecore_x_events.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -3 -r1.84 -r1.85
--- ecore_x_events.c 25 Aug 2006 17:27:08 -0000 1.84
+++ ecore_x_events.c 28 Sep 2006 18:56:03 -0000 1.85
@@ -1175,7 +1175,12 @@
if (!ecore_x_window_prop_property_get(xevent->xselection.requestor,
xevent->xselection.property,
AnyPropertyType, 8, &data,
&num_ret))
- return;
+ {
+ if (!ecore_x_window_prop_property_get(xevent->xselection.requestor,
+ xevent->xselection.property,
+ AnyPropertyType, 16, &data,
&num_ret))
+ return;
+ }
}
e = calloc(1, sizeof(Ecore_X_Event_Selection_Notify));
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs