Commit Graph

662 Commits

Author SHA1 Message Date
Carsten Haitzler 7e5b054289 little shim - disabled, but can be used in future to hunt down round-trips.
SVN revision: 46139
2010-02-13 13:32:21 +00:00
Carsten Haitzler df7f6cdaa7 dont need that xsync.
SVN revision: 46127
2010-02-13 11:37:57 +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 b8b4a2bc9c wtf was that. of course it should be False!!!!
SVN revision: 45799
2010-02-02 09:06:14 +00:00
Sebastian Dransfeld 743bc86799 Remove Ecore_Txt
SVN revision: 45791
2010-02-02 04:50:04 +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
dieb 8498d88bc6 Fix: ecore_x_window_del() was renamed to ecore_x_window_free() on r39918.
SVN revision: 45735
2010-01-30 17:47:59 +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 61395ea4ad say we do pings - and respond within the event handler.
SVN revision: 45699
2010-01-29 10:28:54 +00:00
Sebastian Dransfeld 03d9fb7b94 Remove Ecore_Data
SVN revision: 45602
2010-01-26 21:08:13 +00:00
Sebastian Dransfeld 6eaa6f27ed Remove Ecore_Data
SVN revision: 45601
2010-01-26 21:07:53 +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
Christopher Michael 0c75b1cf0f Remove duplicate function declaration.
SVN revision: 45520
2010-01-24 11:44:38 +00:00
Christopher Michael 3069f426b1 Add atom/function to request a position update for quickpanel. Useful for
when indicator gets dragged around.



SVN revision: 45466
2010-01-22 22:48:59 +00:00
Vincent Torri 8744820a79 fix warnings
patch by Albin Tonnerre


SVN revision: 45433
2010-01-22 07:03:04 +00:00
Vincent Torri f901fffdde add missing API ecore_x_xregion_is_equal()
patch by Albin Tonnerre


SVN revision: 45432
2010-01-22 06:55:06 +00:00
Vincent Torri 01adcea234 fix function name
patch by Albin Tonnerre


SVN revision: 45431
2010-01-22 06:53:24 +00:00
Vincent Torri c30b3cacb5 link against xinput2
SVN revision: 45386
2010-01-21 09:56:49 +00:00
Carsten Haitzler a5d8c4f9b8 make genericevent ifdefed - obviously is too new. oddd - it's on ubuntu 9.04
- which isnt too new.



SVN revision: 45349
2010-01-20 00:09:26 +00:00
이상진 6052f73462 From: 이상진 <lsj119@samsung.com>
generic events exposed from ecore_x (if you have the newest xlib goop like xi2)



SVN revision: 45318
2010-01-19 05:13:58 +00:00
Christopher Michael 2630ca3846 Make ecore_x build again.
Remove whitespace.



SVN revision: 45267
2010-01-17 19:57:50 +00:00
Nicholas Hughart 719f50417f Remove extra parentheses on calls to _ecore_mouse_button.
SVN revision: 45266
2010-01-17 19:37:38 +00:00
Carsten Haitzler 258f47f511 also more multitouch suport improvements.
SVN revision: 45249
2010-01-17 08:52:38 +00:00
Carsten Haitzler 088ea5d064 ,++
SVN revision: 45241
2010-01-17 04:25:39 +00:00
Carsten Haitzler f9de9a4c80 actually looked at headers for xi2 now.
SVN revision: 45240
2010-01-17 04:11:52 +00:00
Carsten Haitzler b3d14541c5 opcode -> _ecore_x_xi2_opcode
SVN revision: 45236
2010-01-17 01:33:43 +00:00
Christopher Michael 1c6393d27f Slight modification to the zone request send function.
SVN revision: 45232
2010-01-16 18:36:30 +00:00
Christopher Michael 6f2560c58a Inlcude Eina.h for Eina_Bool (use with ecore_x_input_multi_select)
SVN revision: 45231
2010-01-16 17:12:50 +00:00
Christopher Michael 070a50fb38 Add atoms/functions to allow a quickpanel zone to be set.
SVN revision: 45230
2010-01-16 17:02:33 +00:00
Carsten Haitzler d3afa8952e multitouch support for xi2 and floating xi devices
SVN revision: 45213
2010-01-16 12:20:56 +00:00
Sebastian Dransfeld 9bc8adc5bc make clang happy
SVN revision: 45148
2010-01-14 23:48:04 +00:00
Christopher Michael 63912c9ebe Add atom/function for setting illume zones. Needed so we can retrieve from
elm apps.



SVN revision: 45123
2010-01-14 20:08:27 +00:00
Mikhail Gusarov 99a429aab7 ecore_x/xcb: Fix broken init count in ecore_x_init
SVN revision: 45109
2010-01-14 05:10:26 +00:00
Christopher Michael 58341cdd9f Functions & Atoms for get/set of bottom_panel geometry (for use with elm_conformant
widget).



SVN revision: 45102
2010-01-14 02:30:06 +00:00
Mikhail Gusarov 513a9dab25 ecore_x/xcb: Do not segfault if unable to connect to display
There is xcb_connection_has_error to check connection errors,
and return value of xcb_connect is always non-NULL.

SVN revision: 45088
2010-01-13 20:24:48 +00:00
Carsten Haitzler fcf3c4d73e some safety to avoid possible segv's
SVN revision: 44996
2010-01-08 23:27:15 +00:00
Christopher Michael 11a9a1badf Add atom for set/get of top shelf geometry.
Fix void function in netwm that was returning a value when it shouldn't.
Remove wasted whitespace.



SVN revision: 44981
2010-01-08 16:16:05 +00:00
Carsten Haitzler 4175a2a072 fix valgrind complaint
SVN revision: 44973
2010-01-08 11:29:20 +00:00
Carsten Haitzler fa19cf50b7 add call to set compositor selection owner
SVN revision: 44969
2010-01-08 08:24:35 +00:00
Carsten Haitzler 21ecfba7ad some cleanups
SVN revision: 44945
2010-01-07 13:36:45 +00:00
Carsten Haitzler 288b812d44 printf--
SVN revision: 44937
2010-01-07 01:19:45 +00:00
Sebastian Dransfeld 65f11b79c2 Add missing header for memcpy
string.h is needed for memcpy

SVN revision: 44934
2010-01-07 00:31:24 +00:00
Sebastian Dransfeld 8007e73077 Patch from Mathieu Taillefumier
I modified some hearder file in ecore to ease the cleanup of the private
header files in ecore. Each module has now a private header with its own
log color (eina_log related). I also created two private header files
for ecore_sdl and ecore_input for this purpose and corrected some typos
in the xlib_xcb private header file.

SVN revision: 44933
2010-01-07 00:30:05 +00:00
Carsten Haitzler b4c473c21a fix shm leak
SVN revision: 44925
2010-01-06 15:21:01 +00:00
Carsten Haitzler 232be7f24e adding some stuff for compositing goop!
SVN revision: 44920
2010-01-06 14:14:23 +00:00
Vincent Torri a4b0afb1e4 * move structures from ecore_private.h to the corresponding source files
* add 2 internal ecore_exe functions as ecore_signak.c uses Ecore_Exe members
   no test is done in those 2 functions
 * remove standard headers from ecore_private.h



SVN revision: 44862
2010-01-03 21:55:50 +00:00
Christopher Michael 3a9091b4f5 Add missing atom for ILLUME_CLOSE.
Add atom & function for ILLUME_HOME (this is so we can create new home
windows easily, since the code for actual window is separate from layout
code).



SVN revision: 44775
2009-12-30 01:36:14 +00:00
Christopher Michael 3813dedf89 Add functions & atoms to get/set quickpanel priority (major & minor).
SVN revision: 44772
2009-12-30 01:17:04 +00:00
Christopher Michael 8e455fa1e6 Add another illume 'mode'. This allows us to know if we are top/bottom or
left/right.



SVN revision: 44768
2009-12-29 22:14:38 +00:00
Christopher Michael fcbe8a2eca Add quickpanel state functions (get/set/send).
Add quickpanel atoms.



SVN revision: 44739
2009-12-28 02:13:20 +00:00
Christopher Michael 1aaab52a75 Add atoms/props/functions to set/get if a window is a 'illume quickpanel'.
Fix some formatting.



SVN revision: 44692
2009-12-23 15:26:19 +00:00
Christopher Michael 2a687cab8b Remove winlist atoms/props/functions...I was under the wrong impression wrt
this.



SVN revision: 44685
2009-12-23 13:10:34 +00:00
Christopher Michael 7e2fbfb949 Add missing vkbd atoms/states to functions where needed.
Add atoms/states for illume winlist.



SVN revision: 44674
2009-12-23 01:48:25 +00:00
Sebastian Dransfeld 0a9456ccf7 Remove duplication from ecore headers
Clean up Ecore.h and ecore_private.h

SVN revision: 44664
2009-12-22 21:15:12 +00:00
Cedric BAIL d8e1895350 * ecore: Use eina_log.
Patch from Mathieu Taillefumier.


SVN revision: 44637
2009-12-21 17:32:19 +00:00
Cedric BAIL 78fdf79b00 * ecore: Cleanup some warning.
SVN revision: 44631
2009-12-21 16:17:29 +00:00
Carsten Haitzler 770e14eebe fmting
SVN revision: 44561
2009-12-19 00:50:44 +00:00
Christopher Michael b785c6bdc6 Add atoms & functions to set/get if illume dragging is enabled on a given
window.



SVN revision: 44511
2009-12-16 19:43:53 +00:00
Christopher Michael 67ade18c0f Add atoms for illume drag start & end so that policies can handle dragging
in their own way.



SVN revision: 44492
2009-12-16 02:20:38 +00:00
Carsten Haitzler 01c8e1637e more vkbd states
SVN revision: 44470
2009-12-15 06:38:16 +00:00
Christopher Michael d3fc8d4fa4 Add method to send illume_back and illume_close messages.
SVN revision: 44399
2009-12-12 00:46:54 +00:00
Christopher Michael 636cadeaca And set the other illume atoms in ecore_x_atoms.c
SVN revision: 44379
2009-12-11 20:07:34 +00:00
Christopher Michael 1a3eec2e91 Add way to trigger illume dual/single app mode via client messages.
(and fix some formatting)



SVN revision: 44378
2009-12-11 19:51:47 +00:00
Sebastian Dransfeld 73cde2ffa2 Make clang happy
SVN revision: 44257
2009-12-07 21:01:26 +00:00
Christopher Michael 4811502558 Fix illume_conformant to return 0 if the atom is not setup on the xwin.
SVN revision: 44234
2009-12-07 02:04:23 +00:00
Christopher Michael b7d7d87d18 Add functions to make it easy to set an illume conformant window.
SVN revision: 44220
2009-12-06 17:31:04 +00:00
Christopher Michael 414593cbca Add Atom for Illume Compliance.
SVN revision: 44110
2009-12-01 21:31:44 +00:00
Christopher Michael 1cf4a25eed minor formatting.
SVN revision: 43855
2009-11-21 01:34:49 +00:00
Mikhail Gusarov a704b35961 Use proper index to select mask in _ecore_xcb_key_mask_get
SVN revision: 43607
2009-11-10 22:15:00 +00:00
Vincent Torri ba758fdd47 return immediatly if the title is NULL
SVN revision: 43247
2009-10-24 09:58:46 +00:00
Vincent Torri 198b55badb return immediatly if we set NULL for the title of a window
i don't know what to do for ecore_x_icccm_name_class_set().
Should i return immediatly if one of the name or class is NULL ?


SVN revision: 43246
2009-10-24 09:48:33 +00:00
Vincent Torri 15d338f766 warnings--
SVN revision: 43114
2009-10-16 09:25:08 +00:00
Vincent Torri 4072d0b23d * check the returned value of the _init() functions
* simplify a bit the init/shutdown functions


SVN revision: 42995
2009-10-10 05:28:43 +00:00
Vincent Torri 4cccce6dfe query sync counter. Round trip to fix, though
SVN revision: 42835
2009-10-01 09:03:23 +00:00
Carsten Haitzler 5a9e8df882 from jeffdameth: query sync counter
SVN revision: 42833
2009-10-01 08:43:54 +00:00
Vincent Torri 160d5c97b2 send last timestamp as time.
SVN revision: 42832
2009-10-01 08:30:24 +00:00
Carsten Haitzler b38556b7b9 send last timestamp as time.
SVN revision: 42831
2009-10-01 08:23:00 +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
Carsten Haitzler d6cdd8131b 1. ecore-evas doesnt disable draws to fully obscured windows if compositoir
is there
2. static atom for compositor check
3. stop filterng out mouse moves for better scroll momentum checks



SVN revision: 42182
2009-09-02 12:48:56 +00:00
Kim Woelders 1db0b28f52 The functions ecore_x_window_prop_card32_list_get, ecore_x_window_prop_xid_get, and ecore_x_window_prop_xid_list_get were buggy.
The original intention was that if the property is absent or not of extected type (or invalid window) they should return -1, otherwise they should return the number of elements in the property, 0 if none.

Unfortunately they all returned 0 if the property does not exist. Also, ecore_x_window_prop_xid_list_get retuned 0 if the property exists, has no elements, but has wrong type (should be -1).

These issues should be fixed now but this may cause problems in any code that relied on the incorrect behavior.



SVN revision: 41418
2009-07-18 10:27:51 +00:00
Carsten Haitzler a2b75fa66c free list
SVN revision: 41411
2009-07-18 09:35:22 +00:00
Vincent Torri 3c7680e6cb * add ecore_x_atom_name_get() API (will be used by ewl)
* move atom related functions from ecore_x.c to ecore_x_atom.c


SVN revision: 41283
2009-07-09 04:55:11 +00:00
Vincent Torri 20108eea57 Add Region API to ecore_x (Xlib using Region and XCB using pixman).
This allow to use the same code in ecore_evas for Xlib and XCB


SVN revision: 40959
2009-06-08 06:34:20 +00:00
Carsten Haitzler dc09494b26 hmm why wasnt this committed?
SVN revision: 40535
2009-05-07 13:27:59 +00:00
Vincent Torri 4065fdd4f5 API BREAK
fix consistentness of ecore_x API. Rename some _del functions to _free ones.

See ticket #302


SVN revision: 40532
2009-05-07 08:35:00 +00:00
Andreas Volz f73ad689da added xlib implementation for ecore_x_default_screen_get
SVN revision: 40511
2009-05-05 18:50:29 +00:00
Massimiliano Calamelli 9dd0697b54 Place the ECORE_XSS #endif in the right place, otherwise ecore fails to buils if there is no screensaver extension
SVN revision: 40503
2009-05-03 21:26:08 +00:00
Gustavo Sverzut Barbieri a5428a4ca3 no idea why this flag is required, but doing like others do...
SVN revision: 40493
2009-05-02 23:41:09 +00:00
Gustavo Sverzut Barbieri 79631a6f0f xrandr1.3 support: first steps (events).
starting to implement xrandr 1.3 support, now we support all events
and their fields.

This commit also fix way that extensions register their ids and
base. The way it was, ids was being added to the last event id, that
was wrong! Fortunately, those that were wrong had just one event and
always added "0", making no harm.



SVN revision: 40492
2009-05-02 23:34:29 +00:00
Vincent Torri 90061cb121 add to the API the function ecore_x_drawable_rectangle_fill() that
fills a rectangle on the specified drawable. It will be used in ecore_evas
to factorize the code.


SVN revision: 40358
2009-04-25 07:16:26 +00:00
Vincent Torri 4aea12e286 free the events sent by the X server
SVN revision: 40271
2009-04-21 17:42:25 +00:00
Vincent Torri 8801b817ea typo
SVN revision: 40217
2009-04-19 08:39:09 +00:00
Vincent Torri b7f578680c fix ecore_input use
SVN revision: 40216
2009-04-19 08:37:50 +00:00
Vincent Torri ead9bbaf36 fix default values of z and direction
SVN revision: 40215
2009-04-19 08:37:08 +00:00
Vincent Torri aef319dc5f more fixes
SVN revision: 40211
2009-04-19 07:16:11 +00:00
Vincent Torri bfb89c4857 missing guards--
SVN revision: 40209
2009-04-19 06:46:02 +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
Vincent Torri f0612cc992 Typo reported by Cedric Ollivier, thanks !
SVN revision: 40163
2009-04-18 12:08:56 +00:00