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
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
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