Commit Graph

25 Commits

Author SHA1 Message Date
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 37e2ab21c1 ecrustify on ecore-x.
SVN revision: 64239
2011-10-21 05:40:59 +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 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 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 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 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 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
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 9d3be74bc3 Ecore_X: Use Eina_Bool for unsigned char.
SVN revision: 61431
2011-07-16 19:17:24 +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 acb667de11 at least it builds now with eina_bool changes and randr changes.
woefully incomplete tho.



SVN revision: 52866
2010-09-28 22:37:04 +00:00
Lucas De Marchi be1b6d32ef Fix common misspellings
Following misspellings were fixed:

alledgedly->allegedly
cant->can't
carefull->careful
consistant->consistent
currenly->currently
dependancy->dependency
descripters->descriptors
doesnt->doesn't
dosen't->doesn't
existant->existent
exmaple->example
inbetween->between
independant->independent
isnt->isn't
mroe->more
neccessary->necessary
occured->occurred
occurence->occurrence
parrallel->parallel
particualr->particular
preceeding->preceding
recieved->received
recieves->receives
seperate->separate
substraction->subtraction
succesfully->successfully
successfull->successful
sucess->success
supress->suppress
usefull->useful
witht->with



SVN revision: 51986
2010-09-08 11:23:42 +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
Vincent Torri 7c4ab89bc9 XCB used to provide iterators for requests returning
list of values. Recent versions dropped it and return
arrays instead. Adapt code to use arrays unconditionally
(arrays were present in earlier libxcb versions).

Patch by Mikhail Gusarov


SVN revision: 49667
2010-06-14 19:17:49 +00:00
Mikhail Gusarov 8b293c2209 Fix memory corruption in ecore_xcb_window.c::ecore_x_window_children_get
Function allocated reply->children_len bytes, and then copied
sizeof(Ecore_X_Window) * reply->childen_len bytes into the buffer, leading
to memory corruption.

SVN revision: 42624
2009-09-22 18:18:28 +00:00
Vincent Torri aaa733d25b * fix warnings
* add missing guards
 * add missing QueryVersion check for the screensaver extension


SVN revision: 40207
2009-04-19 06:36:47 +00:00
Gustavo Sverzut Barbieri 0f8b812d0c fix bad sed by someone else.
SVN revision: 40139
2009-04-17 16:02:07 +00:00
Vincent Torri f7d7e4e74a API BREAK
for consistentness, ecore_***_window_del is renamed
ecore_***_window_free


SVN revision: 39918
2009-04-10 08:46:41 +00:00
doursse 3f80f51a24 add ecore_x_window_shadow* api, use latest xcb_icccm api, remove trailing spaces, formatting
SVN revision: 35243
2008-07-29 09:00: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