Commit Graph

950 Commits

Author SHA1 Message Date
Carsten Haitzler 37e2ab21c1 ecrustify on ecore-x.
SVN revision: 64239
2011-10-21 05:40:59 +00:00
Carsten Haitzler 4866f72938 commit changes and notes for matrchnig multitouch xcb stuff
SVN revision: 64082
2011-10-15 03:34:01 +00:00
Carsten Haitzler d45161691a and now make my modifications to multittouch this morning also work
again with mpx automatically. yay!



SVN revision: 64071
2011-10-14 09:11:49 +00:00
Carsten Haitzler 57e5fd31d1 put in hardcoded bitmask define if headers dont provide it.
SVN revision: 64068
2011-10-14 07:23:09 +00:00
Carsten Haitzler bf1b8531b7 support slave pointer and try not to kill mpx support.
SVN revision: 64056
2011-10-14 02:32:34 +00:00
Cedric BAIL c26c5b6fa2 ecore: define Video XAtoms.
SVN revision: 64041
2011-10-13 07:41:55 +00:00
Carsten Haitzler f543d932c4 segv over there in xlib ecore_x... suddenly... in a test app.
SVN revision: 64012
2011-10-12 09:26:09 +00:00
Christopher Michael 2dde82d216 Ecore_X(cb): Return correct screen from ecore_x_screen_get
SVN revision: 63818
2011-10-05 00:52:02 +00:00
Christopher Michael a4b22379b0 Ecore_X(cb): Readd missing connection checks.
SVN revision: 63813
2011-10-04 21:54:36 +00:00
Christopher Michael ed291bafe1 Ecore_X(cb): Fix randr code to work with randr 12 or 13.
NB: This fixes the slow startup times that some people have reported
when using certain drivers (intel, nouveau, etc).



SVN revision: 63812
2011-10-04 21:47:49 +00:00
Carsten Haitzler 8c26779f16 update modifiers on mapping changes too.
SVN revision: 63665
2011-09-29 09:56:07 +00:00
Christopher Michael d579c7812d Ecore_X(cb): Disable filtering of MotionNotify events. Could cause
problems with prediction. Thanks mate ;)



SVN revision: 63587
2011-09-24 09:21:17 +00:00
Christopher Michael c75816a09c Ecore_X(cb): Rename xcb cflags & link libs to avoid any pkg-config
confusion.



SVN revision: 63581
2011-09-24 06:20:15 +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
Christopher Michael c668ac0227 Ecore_X(cb): Make vsync code behave like xlib version and link against
libdri/libGL/etc. Remove use of xcb_dri2 extension (for now).



SVN revision: 63517
2011-09-21 11:41:25 +00:00
Christopher Michael 46b0d6adf0 Ecore_X(cb): Make sync_magic_send more like the xlib version and use
xcb_send_event directly.



SVN revision: 63516
2011-09-21 11:39:08 +00:00
Carsten Haitzler c54441d5ce xcb impl for generic events
SVN revision: 63508
2011-09-21 06:17:22 +00:00
Christopher Michael c748d1b17b Ecore_X(cb): Remove debug printout. Add missing logfn.
SVN revision: 63507
2011-09-21 05:13:03 +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 663ce7f2fc Ecore_X(cb): Add checks to make sure that extensions are loaded and
available before making calls to them.



SVN revision: 63492
2011-09-20 07:34:50 +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 3561137e9a Ecore_X(cb): Check composite is available before trying to use it.
SVN revision: 63490
2011-09-20 07:15:52 +00:00
Christopher Michael c7a7c71541 Ecore_X(cb): Fix 'dpy' thingies ;)
SVN revision: 63489
2011-09-20 07:14:11 +00:00
Christopher Michael 7896c9df95 Ecore_X(cb): Make sure screensaver extension is available before
trying to call functions involving it.



SVN revision: 63488
2011-09-20 07:11:36 +00:00
Carsten Haitzler 0849e320a0 fix bug in generic event handling on xlib side of ecore_x
SVN revision: 63475
2011-09-19 10:11:53 +00:00
Christopher Michael 5f037fce40 Ecore_X(cb): Work around (possible) xcb bug where
ecore_x_screen_index_get was not returning the proper 0-based index.

NB: Fixes OpenGL with xcb.



SVN revision: 63440
2011-09-16 14:16:09 +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 6a08cbdd30 Ecore_X(cb): Add missing flush after xcb_send_event.
SVN revision: 63358
2011-09-13 15:47:56 +00:00
Christopher Michael 5bfeec8dab Ecore_X(cb): Add missing flush after xcb_send_event.
SVN revision: 63357
2011-09-13 15:45:56 +00:00
Christopher Michael 5427b07823 Ecore_X(cb): Add missing window types to return in netwm code.
SVN revision: 63303
2011-09-08 23:28:12 +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 67a369fee3 Ecore_X(cb): Add simple .Xdefaults file parser for getting dpi, cursor
size, etc.

NB: Xcb has no support for xrdb (yet), so parse dpi, etc from
.Xdefaults (if exists).



SVN revision: 63299
2011-09-08 21:51:08 +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 0c3a54457d Ecore_X: Function expects a Eina_Bool return, so let's use those ;)
SVN revision: 63008
2011-08-30 18:38:27 +00:00
Christopher Michael f1804f736b Ecore_X(cb): Add missing flush after send_event(s). Remove unused code.
SVN revision: 63007
2011-08-30 18:37:47 +00:00
Christopher Michael 2a3c45fd63 Ecore_X(cb): Add missing flush after change_property.
SVN revision: 63006
2011-08-30 18:37:12 +00:00
Christopher Michael 9dcd3cf466 Ecore_X(cb): Add missing free of reply.
SVN revision: 63005
2011-08-30 18:36:43 +00:00
Christopher Michael bd3a56cc18 Ecore_X(cb): Add missing flush after send_event(s).
SVN revision: 63004
2011-08-30 18:34:40 +00:00
Christopher Michael bac39cb0e3 Ecore_X(cb): Process & clear error if we have one. Add missing free of
reply.



SVN revision: 63003
2011-08-30 18:33:44 +00:00
Christopher Michael 85b508d3e3 Ecore_X(cb): Add missing flush calls after send_event for dnd.
SVN revision: 63002
2011-08-30 18:32:40 +00:00
Christopher Michael 003221f24b Ecore_X(cb): ecore_x_dpms functions return Eina_Bool, so let's use that.
SVN revision: 63001
2011-08-30 18:30:17 +00:00
Christopher Michael 7babfbc619 Ecore_X(cb): Make mwm code match xlib closer.
SVN revision: 63000
2011-08-30 18:29:36 +00:00
Christopher Michael c94f16028c Ecore_X(cb): Make netwm code match xlib closer. Add missing flush
after send_event(s).



SVN revision: 62999
2011-08-30 18:29:15 +00:00
ChunEon Park bda5802e9a ecore/ecore_x - modified to support double/triple clicked for multi touch device.
Actually, basic logic is same, 
but added the touch down info structure to store down timestamp (and window, event window...) for each device. 



SVN revision: 62980
2011-08-30 05:15:53 +00:00
Leif Middelschulte 8d9c4144ef From: Leif Middelschulte <leif.middelschulte@gmail.com>
Subject: [E-devel] [PATCH] Ecore_X.h typo

... patch fixing earlier typo in prior patch :)



SVN revision: 62884
2011-08-27 01:41:52 +00:00
Christopher Michael e07f363689 Ecore_X(cb): More work toward the effort of getting drag-n-drop to
work for gtk apps (tho no success yet).



SVN revision: 62731
2011-08-23 18:03:11 +00:00
Christopher Michael dafdb01872 Ecore_X(cb): Readd missing doxy.
SVN revision: 62728
2011-08-23 16:43:18 +00:00
Christopher Michael 4d6e04c512 Ecore_X(cb): Rework cursor code to be more like the Xlib version.
SVN revision: 62727
2011-08-23 16:39:52 +00:00
Christopher Michael b28995b31d Ecore_X(cb): Fix compiler warnings when building without xprint support.
SVN revision: 62726
2011-08-23 16:39:07 +00:00
Christopher Michael 921497a9fc Ecore_X(cb): Make selection code more like the Xlib version. Fix
return from parser_files function.



SVN revision: 62725
2011-08-23 16:38:24 +00:00
Christopher Michael 121d5b7314 Ecore_X(cb): Enable code for using xprint to get window root list
(like xlib has). Remove some fixme's (implement error checking for a
few functions).

NB: While this code makes ecore_x_window_root_list work like the xlib
version does (ability to use xprint to get list), I highly recommend
building ecore without xprint support (--disable-ecore-x-xprint)
because this seems like a lot of work to go through to get the window
root list. Building without xprint support provides a faster code path.



SVN revision: 62696
2011-08-22 20:10:53 +00:00
Christopher Michael 57cc30c651 Ecore_X(cb): Filter out some motion_notify events to reduce cpu
intensive operations (helps wrt fps when scrolling).

NB: I've seen no adverse effects from this, but please report if you do.



SVN revision: 62637
2011-08-20 21:14:34 +00:00
Christopher Michael 267356c0df Ecore_X(cb): 'Driver' not used here, remove.
SVN revision: 62629
2011-08-20 12:52:59 +00:00
Christopher Michael d9be5b2495 Ecore_X(cb): Use unchecked version for get_input_focus. Cache pixmap
format for reuse so we don't have to keep iterating pixmap formats
from the server setup (can be expensive).



SVN revision: 62627
2011-08-20 11:04:10 +00:00
Christopher Michael 64fdc36b02 Ecore_X(cb): Add some extra 'flush' calls to improve framerate.
NB: For the purests, I know some/most of these are erroneous (extra &
not needed), but please leave them for now until I get time to go
through each one separately to verify & remove (or leave).



SVN revision: 62610
2011-08-20 02:33:57 +00:00
Christopher Michael 3e4c83a87b Ecore_X(cb): Use xcb_shm functions directly. This allows us to avoid
some extra overhead in the xcb image functions when doing shm_put/get.



SVN revision: 62609
2011-08-20 02:32:38 +00:00
Christopher Michael 119f80853e Ecore_X(cb): Add extra flush.
SVN revision: 62608
2011-08-20 02:28:08 +00:00
Christopher Michael 52a9f334bd Ecore_X(cb): Revert caching of visual (breaks borders on terminals for
some odd reason).



SVN revision: 62598
2011-08-19 21:52:25 +00:00
Christopher Michael 838d1e2337 Ecore_X(cb): Cache the visual and avoid extra lookups.
SVN revision: 62597
2011-08-19 20:36:26 +00:00
Sebastian Dransfeld ea52155aeb ecore: Fix shadow warnings
SVN revision: 62562
2011-08-18 10:59:24 +00:00
Christopher Michael 9c41e1fe91 Ecore: Fix formatting.
SVN revision: 62490
2011-08-15 20:18:16 +00:00
Christopher Michael cc639e3d1e Ecore_X: Make ecore_xcb_e match up more w/ xlib version. Don't use
ecore_x_client_message32_send, but rather send the events directly via
xcb (like xlib does).



SVN revision: 62219
2011-08-08 20:40:04 +00:00
Christopher Michael 4b16e8b6fb Ecore_X: Make ecore_x_init (wrt xcb) match the xlib version more (add
eina_init, etc).
dlopen XCloseDisplay for opengl and use that also.
Use the unchecked version for query pointer.
Add some FIXME notes.



SVN revision: 62218
2011-08-08 20:39:10 +00:00
Christopher Michael ae585ba36a Ecore_X: Make ecore_xcb_window match up more w/ xlib version.
Fix some formatting.
Don't allocate any Ecore_X_Windows if the children count is zero.



SVN revision: 62217
2011-08-08 20:37:40 +00:00
Christopher Michael d04731b7e5 Ecore_X: Add comment wrt Fixes extension version (for Tom).
Remove unused code wrt invert regions.



SVN revision: 62216
2011-08-08 20:35:48 +00:00
Christopher Michael e6485b2198 Ecore_X: Fix fat finger copy-paste error wrt casting on shape
rectangles. Thanks jeffdameth for pointing that out ;)



SVN revision: 62215
2011-08-08 20:10:44 +00:00
Christopher Michael b15561a8c8 Ecore_X: We don't check fixes extension version in xlib, so don't
check it here.



SVN revision: 62214
2011-08-08 19:31:17 +00:00
Christopher Michael 5ded422d53 Ecore_X: Remove check for shape extension version.
SVN revision: 62213
2011-08-08 19:15:41 +00:00
Christopher Michael 3d6132e64e Ecore_X: Remove check for damage extension version. (we don't check
version in xlib, so don't check it here).



SVN revision: 62212
2011-08-08 19:15:04 +00:00
Christopher Michael 8a94655b0d Ecore_X: Use unchecked version for getting overlay window.
SVN revision: 62211
2011-08-08 18:59:25 +00:00
Christopher Michael 4f61801f58 Ecore_X: Fix newly added xfixes selection code for Tom ;)
SVN revision: 62210
2011-08-08 18:05:46 +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 30fe4be948 Ecore_X: Fix dnd for shaped windows.
SVN revision: 62105
2011-08-04 20:46:44 +00:00
Christopher Michael fde1f6eed6 Ecore_Xcb: Make ecore_xcb_window_shape reflect the xlib version more
(in the hunt to fix engage issue(s))...tho this still does not fix the
issue(s) with engage :/



SVN revision: 61986
2011-08-02 09:07:52 +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 a71c7d1f68 Ecore_X: For some very odd reason, certain *buntu systems will not
build our ecore_xcb without having pixman_clags & libs as separate
variables here...works on every other system I've tried, but eh it's
*buntu .. their stupid :P



SVN revision: 61796
2011-07-27 07:40:19 +00:00
Christopher Michael c3730e9748 Ecore_X: Remove recent xcb resource code (we're going to go a
different path with this) ;) Reorder init/shutdown procedures to match
order (first in, last out).



SVN revision: 61788
2011-07-27 05:10:28 +00:00
Christopher Michael 8a63b0c909 Ecore_X: Xlib uses screen number, not screen object. Fix !! Bad DH,
spank spank ;)

Thanks antognolli for the report :)



SVN revision: 61760
2011-07-26 13:17:52 +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 210b6dcc9b Ecore_X: Oopsie, don't need those dbg statements anymore.
SVN revision: 61725
2011-07-26 05:55:25 +00:00
Christopher Michael 37b122117e Ecore_X: Add start of XResource handling for xcb backend (NB: Nowhere
near finished yet). Add working OpenGL for XCB engine.

NB: wrt Opengl...Raster, this is the env var/dlsym version you
requested this morning ;)

NB: Basically what happens is, if you know you do not ever want/use
opengl, you can export ECORE_X_NO_XLIB env variable, and ecore_x will
use pure xcb to establish it's X connection. However, if you do use
OpenGL and this env var is not exported, then ecore_x(cb) will use
XOpenDisplay to init the connection.



SVN revision: 61724
2011-07-26 05:54:01 +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 35fbbc9aab Ecore_X: Fix CnP when using xcb backend.
SVN revision: 61662
2011-07-24 22:19:00 +00:00
Christopher Michael 9e994ffdd0 Ecore_X: Add some doxy for newly added functions (to keep Tom happy),
and fix some horrid formatting.



SVN revision: 61562
2011-07-21 14:05:27 +00:00
Christopher Michael cd65bde09c Ecore_X: Add a couple of missing functions to the xlib engine.
NB: These are mainly for systray module so that it can be engine
independant in that it can just use ecore_x calls now, instead of
specific xlib stuff.



SVN revision: 61555
2011-07-21 12:09:33 +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 76fdeb601f Ecore_X: Add a few more missing randr functions to xcb.
SVN revision: 61399
2011-07-15 13:13:38 +00:00
Christopher Michael a391598c3b Ecore_X: Add some more missing randr functions.
SVN revision: 61398
2011-07-15 12:58:24 +00:00
Christopher Michael b1c32bd7a9 Ecore_X: Add a missing function for ecore_x_randr_modes_info_get. Add
a list of remaining ecore_xcb_randr functions to do.



SVN revision: 61397
2011-07-15 12:20:52 +00:00
Christopher Michael ac53b8b57b Ecore_X: Remove unused file.
SVN revision: 61387
2011-07-14 16:05:13 +00:00
Christopher Michael 927ce0bb7b Ecore_X: Remove unused file.
SVN revision: 61386
2011-07-14 16:04:26 +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
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
Naruto TAKAHASHI 39164fb44d ecore-x: Remove XIM
Signed-off-by: Naruto TAKAHASHI <tnaruto@gmail.com>

SVN revision: 61257
2011-07-12 02:26:19 +00:00
Christopher Michael 58fad65f2b Ecore: Ecore_X: Add missing EAPI for ecore_x_dnd_source_action_get
function.



SVN revision: 60834
2011-06-29 19:40:20 +00:00
Hannes Janetzek 8d783d1ee8 ecore: fix dnd for 'shaped' windows. added rect offset to 'inside' check
SVN revision: 60409
2011-06-16 21:10:41 +00:00
Daniel Juyung Seo 5724f5b257 ecore ecore_x_test.c: Fixed warnings.
SVN revision: 60396
2011-06-16 15:11:30 +00:00
Cedric BAIL b414ea97fb ecore: fix ecore_x_selection_convert not taking selection length into account.
SVN revision: 60382
2011-06-16 09:16:03 +00:00
Boris Faure e6119fa4d9 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Carsten Haitzler 724f2a70ef hmm not much testing of these ecore_x calls with backlight... at least
none of ecore_x_randr_window_outputs_get()



SVN revision: 60232
2011-06-12 01:09:09 +00:00
Christopher Michael 29067b799b Ecore_X: Fix building without shape extension (rects was undefined, as
was the variable i).



SVN revision: 59854
2011-05-31 19:28:30 +00:00
Lucas De Marchi 2f4bba5d15 ecore: fix misspellings
Misspellings found by codespell


SVN revision: 59821
2011-05-30 16:17:07 +00:00
Gustavo Sverzut Barbieri 7074e168e1 A voice in my head said "vtorri will go after you if you don't provide a changelog for those auxiliary functions"
SVN revision: 59762
2011-05-27 19:38:14 +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
Christopher Michael 0afd034b5c Ecore: Ecore_X: Init 'property' to a default value (removes compiler
warning).



SVN revision: 59611
2011-05-23 07:51:44 +00:00
Carsten Haitzler 480d967c55 fix shape and shape input handling for dnd shadow tree.
SVN revision: 59517
2011-05-18 23:55:21 +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
Carsten Haitzler 043bd2644a fix segv! wow. data was null.
SVN revision: 59144
2011-05-03 09:46:55 +00:00
Daniel Juyung Seo 6ef3841a37 Ecore: Removed trailing whitespaces.
SVN revision: 58753
2011-04-20 14:15:33 +00:00
Carsten Haitzler 351be6f22e fix - shapeinput not shapebounding. copy & paste error
SVN revision: 58723
2011-04-19 01:55:33 +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
Hannes Janetzek 68e332580b ecore: fix removal of windows from ignore_list with ecore_x_window_ignore_set
SVN revision: 58549
2011-04-11 12:10:59 +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
Christopher Michael 41fd4b1c4f Ecore_X: Randr: Fixup formatting.
SVN revision: 58399
2011-04-06 23:49:14 +00:00
Christopher Michael cad16fd3cd Ecore_X: XLib: Add missing 'void' in dpms functions.
SVN revision: 58366
2011-04-05 17:35:18 +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
Christopher Michael 7adaac4b7e Ecore_X: XLib: Add missing EAPI in front of
ecore_x_dnd_source_action_set function.



SVN revision: 58340
2011-04-04 22:54:42 +00:00
Christopher Michael 2455a97245 Ecore: Ecore_X: Xlib: Fix memory leak.
When handling xdnd_enter event(s), if we do not support the dnd target
version, then we issue a warning and return from the handling
function. If we are going to return (and not issue the ecore_x_event),
then free the allocated memory of the ecore_x_event_xdnd_enter
structure that we previously allocated.



SVN revision: 58337
2011-04-04 17:06:40 +00:00
Christopher Michael 73e540f6d6 Ecore_X: Xlib - Set correct doxy group for function.
SVN revision: 58304
2011-04-03 16:06:37 +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 25a08dfc52 ahem! who put unused there? who? screen *IS* used!
SVN revision: 58224
2011-03-31 10:36:20 +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
Christopher Michael a57f001e62 Ecore_X:Xlib - No need for a return at the end of a function.
SVN revision: 57937
2011-03-21 17:53:34 +00:00
Christopher Michael 6c286d5c52 Ecore/Xlib: Remove unused variable.
NB: _ecore_x_mouse_up_count appears to not be used. It was used in one
code block only and appears to serve no real purpose. Both variable
and code block are now commented out without any ill effects.



SVN revision: 57933
2011-03-21 14:43:21 +00:00
Mathieu Taillefumier 95ea487188 From: Mathieu Taillefumier <mathieu.taillefumier@free.fr>
Subject: Re: [E-devel] [PATCH][Ecore] second version of the backlight
functions

Add backlight support impl - thanks mathieu



SVN revision: 57158
2011-02-19 12:27:48 +00:00
Christopher Michael 8d02656dc5 Ecore_X_Image: Add missing LOGFN for ecore_x_image_put.
SVN revision: 57134
2011-02-17 20:11:20 +00:00
Christopher Michael d2dc1f438b Ecore_X_Image: Add trap for potential missing XImage.
if Ecore_X_Image-->XImage does not exist, we call
_ecore_x_image_shm_create to create it via shm, BUT that function
can return a NULL XImage if shm is not supported, so we need to check
the return of that, else we are calling XShmPutImage with no XImage.

(NB: This should probably be backported to 1.0...if someone could
handle that please ?)



SVN revision: 57130
2011-02-17 18:38:56 +00:00
Vincent Torri 6ef596d4d5 Use memcpy instead of strndup() as we know the length of the string.
Also fixes compilation on Mac OS X where strndup() is not defined.


SVN revision: 56341
2011-01-28 09:17:54 +00:00
Carsten Haitzler cf7eca75f8 fix oh so many warnings and potential errors - scan report.
SVN revision: 56104
2011-01-14 07:03:33 +00:00
Carsten Haitzler 267968f64a fix possible ptr deref bug waiting to happen if crtc_info is null.
SVN revision: 56091
2011-01-14 05:47:38 +00:00
Mike Blumenkrantz fe6de9181b remove redundant line
SVN revision: 56085
2011-01-14 02:57:52 +00:00
Mike Blumenkrantz 6a9d1ed0c8 avoid null deref
SVN revision: 56084
2011-01-14 02:57:07 +00:00
Carsten Haitzler 5844d77a0a geez! i used the wrong atom for pixmap prop! fix fix fix! it worked
only because copy and paste had get AND set use the same atom!



SVN revision: 56041
2011-01-11 06:14:04 +00:00
Carsten Haitzler e8056f8f83 just in case - check if malloc fails.
SVN revision: 55837
2011-01-04 06:10:31 +00:00
Carsten Haitzler 039fe1e4bf wtf? why a ! ... ??? that was wrong-ish.
SVN revision: 55802
2011-01-03 01:29:37 +00:00
Cedric BAIL 692f308955 * ecore: fix build on Mac OS X.
SVN revision: 55221
2010-12-03 18:40:30 +00:00
Gustavo Sverzut Barbieri dd19bf1205 fix screensaver events, /me spanks raster (r53942)
SVN revision: 54791
2010-11-22 14:27:43 +00:00
Eduardo de Barros Lima 454f896043 Ecore: Decide whether library will be built or not in upper level
As requested by vtorri. :D



SVN revision: 53967
2010-10-28 16:37:41 +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 9817dfe5a5 note -= we may leak display struct here...
SVN revision: 53668
2010-10-20 14:10:55 +00:00
Christopher Michael 50101673d4 Attempting to track a bug in ecore_x_randr_12 where we get a segfault
when trying to free the mode_info. Not much functional difference with
this commit except that we do not call strndup if the nameLength is
<= 0.



SVN revision: 53477
2010-10-15 23:19:45 +00:00
Gustavo Sverzut Barbieri 3a88bc8b71 log domains in lower-case only please.
let's make it a standard so we don't have to look at the code
everytime to figure out the name...



SVN revision: 53172
2010-10-07 22:31:46 +00:00
Carsten Haitzler a77152c531 fix double/triple click
SVN revision: 53010
2010-10-04 07:58:06 +00:00