Commit Graph

178 Commits

Author SHA1 Message Date
Christopher Michael 7bace75fcc Ecore_X(cb): Fix formatting. (whoever did this should lose a finger or
two).



SVN revision: 67170
2012-01-13 01:34:39 +00:00
Christopher Michael 574380ccb0 Ecore_X(cb): Fix my focus issues with Sloppy focus.
Add a check for valid connection in ecore_xcb_icccm.c

NB: For some reason, XCB does not like ecore's timestamp which is
being passed in. Since all the calls to ecore_x_window_focus_at_time
are being passed the current timestamp anyway, just use
XCB_CURRENT_TIME until I have more available 'free time' to dig deeper
into this.



SVN revision: 67136
2012-01-12 11:41:38 +00:00
Doyoun Kang 7974ea4cbf From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: [E-devel] [Patch] Add ecore_x API for error handling

I added ecore_x_error_resource_id_get() api. It returns the resource
id that caused the last X error. I think it will be useful for handling
X error.



SVN revision: 66136
2011-12-13 07:30:01 +00:00
Christopher Michael 191659da9a Ecore_X(cb): Add function for backlight_available so that E will work
again :)



SVN revision: 65838
2011-12-03 04:41:30 +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
Christopher Michael dd933bf536 Ecore_X(cb): Fix formatting in ecore_xcb_window. Fix buggers in ICCCM
code which were not setting icccm wm protocols correctly. This 'fix'
matches up w/ the xcb_icccm_* functions defined in the xcb headers.



SVN revision: 65195
2011-11-14 18:49:50 +00:00
Carsten Haitzler 0303e49be7 this should be correct for xcb - it seems that it packs card32's into
unit32_t's



SVN revision: 65093
2011-11-12 08:59:28 +00:00
Vincent Torri 41c1734761 there is no long at all in the X specification
SVN revision: 65090
2011-11-12 07:18:12 +00:00
Carsten Haitzler 778d3ff2d7 also revert long -> int change in xcb
SVN revision: 65083
2011-11-12 01:40:51 +00:00
Vincent Torri 15d079882c Ecore: Fix warning and seg fault
Fix warning: large integer implicitly truncated to unsigned type.
In ecore_x_window_prop_card32_list_get(): return -1 if malloc fails.

Patch from OpenBSD via Jonathan Armani


SVN revision: 65075
2011-11-11 19:12:36 +00:00
Vincent Torri 966067b4f3 Ecore: Fix warning: large integer implicitly truncated to unsigned type inecore_x/xcb
xcb_get_property_unchecked() requires an uint32_t as last parameter, so use
UINT_MAX instead of LONG_MAX

Patch from OpenBSD via Jonathan Armani


SVN revision: 65073
2011-11-11 18:51:53 +00:00
Christopher Michael 1f5a1508b7 Ecore_X(cb): Fix formatting in newly added randr code.
SVN revision: 64961
2011-11-08 22:16:14 +00:00
Christopher Michael 6431be5ecb Ecore_X(cb): Add missing randr functions for new Randr Config dialog
in E.



SVN revision: 64960
2011-11-08 22:09:32 +00:00
Christopher Michael b7c0243169 Ecore_X(cb): Fix compiler warnings when building without gesture
support.



SVN revision: 64958
2011-11-08 21:09:33 +00:00
Carsten Haitzler 4bfa1caf5c add workareas get as requested in ticket #793 but actually support
more than 1 - for multi-screen.



SVN revision: 64804
2011-11-06 09:16:00 +00:00
Christopher Michael 8ff3f04676 Ecore_X(cb): Fixup formatting in new gesture file. Remove erroneous
fprintfs (LOGFN already handles printing that info out).



SVN revision: 64733
2011-11-04 13:46:58 +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
Christopher Michael 4aa5ab36f5 Ecore_X(cb): Remove some dead code. Fix formatting (how did this get
sooo messed up ??).



SVN revision: 64328
2011-10-23 18:33:32 +00:00
Christopher Michael 880a34d2a6 Ecore_X(cb): Make sure we have argv[i] before we try to strlen it.
SVN revision: 64302
2011-10-22 18:06:44 +00:00
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
Cedric BAIL c26c5b6fa2 ecore: define Video XAtoms.
SVN revision: 64041
2011-10-13 07:41:55 +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
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 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