Commit Graph

303 Commits

Author SHA1 Message Date
Christopher Michael 9c41e1fe91 Ecore: Fix formatting.
SVN revision: 62490
2011-08-15 20:18:16 +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 f694f08de5 Ecore_X: Add some new api functions for getting default
Depth/Visual/Colormap of a given screen.

NB: Added these so that we can remove xlib specific calls in
ecore_evas and just generic ecore_x calls (so we are engine
independant).



SVN revision: 61742
2011-07-26 11:19:55 +00:00
Christopher Michael 72abee3481 Ecore_X: Add a missing function for getting the count of screens.
Bonus: Added doxy and the @since stuffs (for Tom) ;)

NB: Needed for changes to ecore_evas as that was using xlib
ScreenCount. This way we can just use ecore_x_screen_count_get and not
have to worry if we are xcb/xlib/etc.



SVN revision: 61728
2011-07-26 06:44:12 +00:00
Christopher Michael 9d3be74bc3 Ecore_X: Use Eina_Bool for unsigned char.
SVN revision: 61431
2011-07-16 19:17:24 +00:00
Christopher Michael 4c5e65e442 Ecore_X: Add missing shift_lock modifier. Remove unused _ecore_x_ic
variable. Add atom for VisualID (for systray module).



SVN revision: 61377
2011-07-14 15:37:04 +00:00
Gustavo Sverzut Barbieri 7233dba9d8 provide a way to query screen size (just the default screen right now).
NOTE: I don't have xcb, so it's untested. It is supposed to work given
http://www.x.org/releases/X11R7.5/doc/libxcb/tutorial/#DefaultScreen



SVN revision: 59760
2011-05-27 19:17:04 +00:00
Carsten Haitzler 3e6e8f0f08 oooh evil start on trying to get real vsync interrupts from x!!!! :)
SVN revision: 59376
2011-05-14 04:11:13 +00:00
Boris Faure ea297cc549 ecore_x: remove redondant declaration
SVN revision: 58702
2011-04-17 16:48:22 +00:00
Doyun Kang 631f94a523 From: Doyun Kang <doyoun.kang@samsung.com>
Add support for shape input setting and modification (with
fixes/modifications and extensions added tomake it more complete).



SVN revision: 58621
2011-04-13 09:06:05 +00:00
Leif Middelschulte f43571de3a From: Leif Middelschulte <leif.middelschulte@gmail.com>
Subject: [E-devel] [PATCH] ecore_x_randr_current_output_get ~>
ecore_x_randr_window_outputs_get

find attached a set of patches that do the following:

State before patches:
ecore_x_randr_current_output_get was unimplemented.

State after patches:
Patch1: ecore_x_randr_window_outputs_get implements functionality of
ecore_x_randr_current_output_get
Patch2: ecore_x_randr_current_output_get is deprecated and redirects
calls to ecore_x_randr_window_outputs_get

(also i fixed the function to handle realloc errors and not fail, as
well as properly do rectangle intersects based on ROOT relative coords
which is what you wanted to start with as this would have only worked
right on immediate children of root)



SVN revision: 58513
2011-04-09 03:21:49 +00:00
Leif Middelschulte 6755f0c4c6 From: Leif Middelschulte <leif.middelschulte@gmail.com>
Subject: [E-devel] [PATCH] EDID decoding functionality

find attached a patch for EDID data extraction. My display's
manufacturer didn't comply with the standard too much, so I can't test
it entirely. But it should work.

... with modifications to make it actually compile and api be cleaner,
code more robust etc.



SVN revision: 58348
2011-04-05 08:31:42 +00:00
Boris Faure b1e489c258 ecore: redundant declaration with Ecore_X_Atoms.h
SVN revision: 58294
2011-04-03 09:50:51 +00:00
Carsten Haitzler 4155a7df00 add new version of efl sync proto between comp and client.
SVN revision: 58220
2011-03-31 08:13:14 +00:00
Carsten Haitzler 1588a92819 ecore-evas: feature++ : support netm sync protocol for clients
SVN revision: 58198
2011-03-30 10:10:04 +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
Kim Woelders 74fdc27f6d Fix warning.
SVN revision: 53719
2010-10-21 15:53:46 +00:00
Carsten Haitzler a1cc721153 implement ecore_x_image to finish - put and convert done. actually no
need for convert from argb as that requires what evas already does
argb-> screen depth. use evas for that.



SVN revision: 52950
2010-10-01 12:31:22 +00:00
Christopher Michael da426bec51 Fix a couple of ecore_x_e_illume functions ... these Should be int.
SVN revision: 52785
2010-09-26 17:58:44 +00:00
Vincent Torri 29ec0433ab int --> bool
Please review it. i don't have the courage to read
everything again

It should compile on linux (committed from windows, but
corrected at the same time on linux. Thank you, VirtualBox
devs !)

SVN revision: 52784
2010-09-26 17:49:05 +00:00
Brett Nash ee8881634b Add a semicolon. GCC: This ones for you.
SVN revision: 52184
2010-09-13 09:16:01 +00:00
Brett Nash 5ea066ec74 Deniggle and rename the exore_x_dndn_callback_pos_update_set call.
SVN revision: 52183
2010-09-13 09:15:57 +00:00
Brett Nash e36847a0ab Xdnd callback (API Addition): Rationale below.
Essentially the problem is this: For drag and drop Ecore currently handles the
position update calls.  But usually the application wants to display some user
feedback - a window to display the drag selection for instance.

Now the way e17 does it is grab the mouse cursor movements and track them
itself.  However ecore is already doing this, it's already walking window
trees, calculating real positions, _and_ sending them in an X client message.
So it seems rather silly to duplicate the code in the user app to get the same
info.

We could possibly have added a new event, but then we need to deal the fact
the position update may arrive _After_ the item has been dropped.  Hilarity
ensures[1].

This callback is meant for purely the selection owner of the drag to use, so
it is a callback set, not an add.

[1] Segfaults probably.  Nothing funnier.

SVN revision: 52181
2010-09-13 09:15:50 +00:00
Christopher Michael e2b4501a74 Prototypes for the missing ecore_x convert functions.
SVN revision: 51906
2010-09-05 15:40:36 +00:00
Carsten Haitzler 67782a333f from t_unix <- add none enum for randr
SVN revision: 51387
2010-08-19 08:25:34 +00:00
Cedric BAIL 59f3bf1eb6 * ecore: const Eina_Bool don't make any sense.
SVN revision: 51252
2010-08-17 14:48:21 +00:00
Leif Middelschulte e7e09623ef From: Leif Middelschulte <leif.middelschulte@gmail.com>
patch for ecore-x xrandr 1.3 support - breaks previous api. final api
change (i know about) before we go alpha. in to svn we go.



SVN revision: 51109
2010-08-14 10:21:03 +00:00
Carsten Haitzler f3f7274796 shapeinput too
SVN revision: 50879
2010-08-07 01:32:07 +00:00
Carsten Haitzler 2692e43cf1 shape event gets info.
SVN revision: 50878
2010-08-07 01:27:25 +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
Carsten Haitzler ee1b715780 support calls++
SVN revision: 50760
2010-08-03 09:02:27 +00:00
Mike Blumenkrantz 54a05dc2aa re-reformat
SVN revision: 50747
2010-08-02 18:54:27 +00:00
Mike Blumenkrantz d07a90f62a re-uncrustify
SVN revision: 50745
2010-08-02 17:47:49 +00:00
Mike Blumenkrantz e248c8b6fc uncrustify so T_UNIX will stop nagging me! :)
SVN revision: 50583
2010-07-28 05:23:42 +00:00
Lucas De Marchi 01d20339dd Create interface to system bell
Only the xlib implementation is done. It's calling XBell() to alert user.



SVN revision: 50290
2010-07-16 20:54:18 +00:00
Carsten Haitzler 3a00e81a7c add pixmap set/get for comp.
SVN revision: 50238
2010-07-13 23:31:16 +00:00
Cedric BAIL fbe9064310 * ecore: Ecore callback really should return Eina_Bool.
SVN revision: 49829
2010-06-24 16:15:56 +00:00
Brett Nash 08bee8f6b7 Ecore_x_selection convert is now a little richer.
Allows implementation of proper X cut & paste by an applicaiton, exisitng code
should not be affected (may need an recompile).


SVN revision: 49586
2010-06-09 09:40:37 +00:00
Carsten Haitzler 67060c70ee more netwm window types - they were missed!
SVN revision: 48884
2010-05-15 05:38:21 +00:00
Carsten Haitzler c2da1184b6 dump and flush protocol added.
SVN revision: 47948
2010-04-12 08:24:19 +00:00
Christopher Michael 02c4cbac7d New function/atoms for Toggle of Quickpanel (for cases where we do not know
the current quickpanel state).



SVN revision: 47935
2010-04-11 20:37:11 +00:00
Christopher Michael fd7ed8786c Add atoms/functions for keyboard geometry. This will be used w/ conformant
apps to notify them of keyboard changes so they can move widgets around,
etc, etc.



SVN revision: 46402
2010-02-23 20:53:34 +00:00
Christopher Michael 618fe20c58 Readd zone_list functions and atoms. (Needed for some elm apps like
elm_indicator & elm_softkey).



SVN revision: 46357
2010-02-22 17:12:24 +00:00
Christopher Michael 04b865cdce Ecore_X changes for new illume2 code.
NB: This will break current PROTO/elm_* apps for illume2. They will be fixed
up shortly.



SVN revision: 46284
2010-02-19 02:27:18 +00:00
Carsten Haitzler 1a4ce4f5e1 add return for get image for result.
SVN revision: 46073
2010-02-11 08:05:39 +00:00
Carsten Haitzler 921587e70b more work on the sync stuff... looking good now.
SVN revision: 45772
2010-02-01 14:13:48 +00:00
Carsten Haitzler 2af8f0e8b5 add some sync stuff.. wil be used soon
SVN revision: 45733
2010-01-30 10:42:22 +00:00
Carsten Haitzler 78d08250c4 typo fix!
SVN revision: 45702
2010-01-29 11:06:32 +00:00
Carsten Haitzler 5c41db66e2 actually have call api exported
SVN revision: 45700
2010-01-29 10:29:51 +00:00
Carsten Haitzler 19d30a8a48 add atoms+cursor includes to ecore_x.h - so much simpler for users. no need
to keep them separate.



SVN revision: 45521
2010-01-24 13:07:35 +00:00