Commit Graph

40 Commits

Author SHA1 Message Date
Michal Pakula vel Rutka 0a8bed1b66 From: Michal Pakula vel Rutka <m.pakula@samsung.com>
Subject: [E-devel] [Patch] [Ecore] Allow to send SelectionNotify event
if there is no data from XGetWindowProperty.

The issue I want to fix is that elementary clipboard does not return 
paste callback if selection does not contain any data.
Currently when ecore_x_window_prop_property_get function is called
asking for AnyProperty it returns 0 if there is no data (number of
items stored equals 0). This causes ecore_x_event_handle_selection
_notify to exit before SelectionNotify event is added and eventually
elementary paste callback is not fired.
My patch removes this condition and changes behaviour of this function
by allowing to add SelectionNotify event even if data returned is empty.



SVN revision: 77732
2012-10-10 09:17:21 +00:00
Cedric BAIL 3d8678ab86 ecore: add ecore_x_input_raw_select and friends.
SVN revision: 77404
2012-10-04 05:56:59 +00:00
Christopher Michael 492eb02253 Ecore_X (xcb): Patch from Daniel Willmann to fix the type used for
calloc of randr_output_change event.



SVN revision: 77401
2012-10-04 05:49:28 +00:00
Carsten Haitzler 3faee27bd8 add in custom screen blank enable/disable in ecore-x so we can do e17
based on this release of efl.



SVN revision: 75714
2012-08-26 15:34:40 +00:00
Carsten Haitzler 4e17d57b06 I know this is a new feature. i know i know. doing this because
otherwise we weill need another efl release for e17 to get out.

modified patch from:
http://trac.enlightenment.org/e/ticket/1306



SVN revision: 75409
2012-08-18 11:29:47 +00:00
Carsten Haitzler 6a509fe506 fix e17->elm cnp.
SVN revision: 73924
2012-07-16 11:01:44 +00:00
Sebastian Dransfeld 1676ef5aad ecore: Rename Mode to AltGr
SVN revision: 72980
2012-06-28 07:30:32 +00:00
Sebastian Dransfeld 84e54d532d ecore: Fix support for intl keyboards
Map XK_Mode_switch to new modifier and use it to match AltGr key. In
ecore_imf xim module this key should be reported as Mod5Mask, and
windows key as Mod4Mask.

Does none of the e developers use international keyboards?

SVN revision: 72937
2012-06-27 10:47:57 +00:00
Christopher Michael b5cd67dee2 Ecore_X(cb): Remove not-needed variable in key event. Remove unused
goto label.



SVN revision: 65590
2011-11-24 23:58:26 +00:00
Carsten Haitzler 368525255b complain if eina_str_convert doesn't work to kelp quaker66 :)
SVN revision: 65514
2011-11-22 11:08:45 +00:00
Sung-Jin Park 19ab8e3f74 From: Sung-Jin Park <sj76.park@samsung.com>
Subject: Re: review request : ecore x patch for X Gesture extention

Do you remember that I told you X gesture extension patch for ecore x ?
I’d like to put the attached patch to ecore_x in upstream.
This patch is just for initializing/receiving X gesture extension stuff.
Would you please put this in SVN ? : )
Thanks and regards,
Sung-Jin Park



SVN revision: 64732
2011-11-04 12:44:28 +00:00
Carsten Haitzler 37e2ab21c1 ecrustify on ecore-x.
SVN revision: 64239
2011-10-21 05:40:59 +00:00
Carsten Haitzler 8c26779f16 update modifiers on mapping changes too.
SVN revision: 63665
2011-09-29 09:56:07 +00:00
Christopher Michael 6273de0e15 Ecore_X(cb): Fix ecore_x when using unstable (from git) xcb...they
removed the event error enums.



SVN revision: 63579
2011-09-24 05:33:29 +00:00
Carsten Haitzler c54441d5ce xcb impl for generic events
SVN revision: 63508
2011-09-21 06:17:22 +00:00
Christopher Michael 5f68e376b2 Ecore_X(cb): Add macro to check for validity of the xcb_connection
before trying to use it.



SVN revision: 63494
2011-09-20 09:12:02 +00:00
Christopher Michael d7a1fd1630 Ecore_X(cb): Trim down memory usage. Add checks for damage extension
before trying to use it. Enable getting xcursor core & anim from
xdefaults.



SVN revision: 63491
2011-09-20 07:17:55 +00:00
Christopher Michael 4128761216 Ecore_X(cb): Remove extra calls to ecore_x_flush. Move main loop
flushing call to an idler like ecore_evas does...Thanks k-s ;)



SVN revision: 63359
2011-09-13 16:32:34 +00:00
Christopher Michael 8da3a6993f Ecore_X(cb): Dnd now works with efm. Add some debugging prints (to
debug gtk dnd events).



SVN revision: 63301
2011-09-08 23:11:33 +00:00
Christopher Michael 6acb1d8ddb Ecore_X(cb): When sending client messages, message_type needs to be
ev->type.



SVN revision: 63067
2011-09-01 20:21:36 +00:00
Christopher Michael 96a210d07c Ecore_X(cb): Port Hermits xlib code to support double/triple click for
multi-touch devices to xcb.
Remove dead code.
Add missing flush calls after change_window_attributes.
Quiet down the event code by commenting out some LOGFN's.
Make selection event code more like Xlib.
Add missing flush calls after send_event.



SVN revision: 63009
2011-08-30 19:22:51 +00:00
Christopher Michael 9afbe23fe2 Ecore_X: Fix formatting of new xfixes code (someone's editor is not
indenting correctly) ;)

Fix formatting of some existing code to declare variables at the top
of functions.

Remove some unused variables.



SVN revision: 62209
2011-08-08 18:05:07 +00:00
Tom Hacohen 6a2929e448 Ecore X: Added Xfixes selection notification support.
Now we can get notifications for changes in X selection. This is very useful
for text editors that want to disable their "paste" button when there's
nothing to paste.

SVN revision: 62205
2011-08-08 14:36:02 +00:00
Christopher Michael e339ae020a Ecore_Xcb: Allow ecore_xcb to support unstable/development version(s) of xcb.
(based on patch from Boris Faure)

NB: This is untested/unsupported code. Ymmv, but using/compiling
ecore_x with versions of xcb > 0.3.6 is not supported yet (until such
time that standard distros support 0.3.8 out of the box).



SVN revision: 61971
2011-08-02 01:32:10 +00:00
Christopher Michael 27395e85cf Ecore_X: Remove 2 fixme's that were bogus, but add one new fixme note
SVN revision: 61723
2011-07-26 02:31:13 +00:00
Christopher Michael 4dcd5b1a7e Ecore_X: Remove fixme comment (correct as it sits).
SVN revision: 61722
2011-07-26 02:21:59 +00:00
Christopher Michael 654b646e22 Ecore_X: Add new xcb code (still not 100% complete tho).
SVN revision: 61376
2011-07-14 15:35:42 +00:00
Carsten Haitzler c3ffeee9e1 ecore_x -> add mapping change event for when key/pointer/modifier
mappings change (xmodmap or kbd layout change).
fix other events to have proper eina_bool too and enums
also remove already disabled old unimplemented events commented out.



SVN revision: 53942
2010-10-28 00:32:43 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Mike Blumenkrantz 54a05dc2aa re-reformat
SVN revision: 50747
2010-08-02 18:54:27 +00:00
Cedric BAIL fbe9064310 * ecore: Ecore callback really should return Eina_Bool.
SVN revision: 49829
2010-06-24 16:15:56 +00:00
Vincent Torri b1a203f57b fix selection compilation
SVN revision: 49670
2010-06-14 19:22:45 +00:00
Vincent Torri 4c776308fb remove ecore_txt
SVN revision: 46985
2010-03-08 08:08:04 +00:00
Sebastian Dransfeld 743bc86799 Remove Ecore_Txt
SVN revision: 45791
2010-02-02 04:50:04 +00:00
Cedric BAIL d8e1895350 * ecore: Use eina_log.
Patch from Mathieu Taillefumier.


SVN revision: 44637
2009-12-21 17:32:19 +00:00
Vincent Torri 4aea12e286 free the events sent by the X server
SVN revision: 40271
2009-04-21 17:42:25 +00:00
Vincent Torri b7f578680c fix ecore_input use
SVN revision: 40216
2009-04-19 08:37:50 +00:00
Gustavo Sverzut Barbieri babc8d254f export way to handle raw xlib/xcb events.
Patch by Kenneth Christiansen, xcb by me and untested.



SVN revision: 40113
2009-04-16 17:29:00 +00:00
Gustavo Sverzut Barbieri 354b23a12e Make ecore_x_selection a bit more generic, at least on event reporting.
SVN revision: 39633
2009-03-22 18:19:17 +00:00
doursse ef61dbeb14 Big change in configure.in, ecore_x and ecore_evas. Everything compile nicely
after a make maintainer-clean, with xlib or xcb. e17 also has no problem.
Please report any problem. Thanks

 * put xlib and xcb specific code in their own directories inside ecore_x
 * fix xcb logic check in autotools and ecore_evas
 * update configure.in for detection of ecore_evas with xlib and xcb support,
   update ecore_evas accordingly. Note that e17 needs a little fix after that,
   it will come in a few minutes


SVN revision: 35188
2008-07-23 10:00:01 +00:00