Commit Graph

662 Commits

Author SHA1 Message Date
Carsten Haitzler cea0975be9 force unknown -> 0
SVN revision: 35208
2008-07-25 01:54:26 +00:00
Carsten Haitzler ca8b5a99d2 e vkbd hint wrappers!
SVN revision: 35207
2008-07-25 01:45:36 +00:00
Carsten Haitzler 7c4a4bae8e actually just handle datatype properly.
SVN revision: 35195
2008-07-23 21:01:36 +00:00
Carsten Haitzler 4eacb3e2cd ignore unkown atom types
SVN revision: 35194
2008-07-23 20:58:47 +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
Carsten Haitzler d279771011 add some more calls needed for better key faking
SVN revision: 35126
2008-07-16 17:05:31 +00:00
doursse 70040d4b80 remove trailing spaces
SVN revision: 35102
2008-07-13 20:20:48 +00:00
Carsten Haitzler 8517245233 and fix mwm hint
SVN revision: 35041
2008-07-09 15:28:10 +00:00
Carsten Haitzler 237956fa62 moe all atom fetching to 1 round trip instead of 200 of them... and mrge into
1 bit of code to do it.


SVN revision: 35039
2008-07-09 15:18:55 +00:00
Carsten Haitzler fa688b14b1 actually make activate work! oops. wrong event mask
SVN revision: 34962
2008-07-01 07:12:27 +00:00
Carsten Haitzler 542e51691b ecore_evas activate call.. uses netwm one... eek. need to add xcb.
SVN revision: 34949
2008-06-30 08:39:36 +00:00
Carsten Haitzler c346a633c7 fix grab key to limit window event reporting properly.
SVN revision: 34851
2008-06-18 11:36:21 +00:00
Sebastian Dransfeld 6da1cd605d No need to get target twice.
SVN revision: 34818
2008-06-13 21:42:13 +00:00
Viktor Kojouharov d410dcd75b ecore_x:
* in ecore_x_pointer_xy_get, fill x & y with '-1', if the pointer is not in the same screen as the given window
  * add 'same_screen' and 'root_win' information for the XEvents dealing with keyboard and mouse events

e:
  * make sure e_manager_current_get returns the correct manager for the current screen
  * fix various modules to use the correct window, when dealing with events


SVN revision: 34705
2008-05-30 22:30:57 +00:00
Carsten Haitzler 21bfa5b0d6 gak! al the siginfo handlign was wrong. u'd get bogus siginfo data from
whatever child exited last - not the one u wanted, not to mention all other
signals. now there's a queue at least. 256 long. moight be a bit too long.


SVN revision: 34442
2008-05-03 08:15:16 +00:00
Carsten Haitzler 0a0f8904f2 add xtest faking key support.
SVN revision: 34128
2008-03-28 14:38:35 +00:00
Sebastian Dransfeld 0c387e3c74 Remove unused variable
SVN revision: 34010
2008-03-13 06:36:50 +00:00
Carsten Haitzler 87a6db7703 add in a types get - as u can have a list of them.
SVN revision: 33951
2008-03-07 11:02:22 +00:00
Carsten Haitzler 69f298c228 netwm type stupports an array of types. we dont handle it. bad. for now take
only the most important one (first) and note this issue.


SVN revision: 33944
2008-03-06 10:19:21 +00:00
doursse fc81ca730c remove trailing spaces
SVN revision: 33800
2008-02-20 18:22:42 +00:00
doursse 08bbba9e24 use the new api for the screensaver
SVN revision: 33799
2008-02-20 18:20:51 +00:00
Sebastian Dransfeld 1ff7daa0bb revert_to can't be PointerRoot, should probably be RevertToPointerRoot
SVN revision: 33737
2008-02-12 20:34:41 +00:00
Carsten Haitzler c1441e1c3a e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Eric Schuele acb7b70c19 Change name for consistency
SVN revision: 33271
2007-12-28 22:58:48 +00:00
Eric Schuele bedfcfc24c If ecore detects and is build with xrandr support, yet any given display does not actually support it... we need a test.
SVN revision: 33260
2007-12-27 06:34:38 +00:00
Stafford Mitchell Horne b1088e8a16 Fix some typos found when working on XIM.
Add filter for XIM context priming


SVN revision: 33159
2007-12-16 01:41:15 +00:00
Carsten Haitzler c9c3ca7f1d improve xdnd performance by thousdands of times. it was HORRID. note the
comments in the code.


SVN revision: 32694
2007-11-15 04:48:36 +00:00
Gustavo Sverzut Barbieri 6983cf7503 Cleanup ecore_x_window_background_color_set().
SVN revision: 32553
2007-11-10 23:15:03 +00:00
Sebastian Dransfeld c9a0f84f4c No need to cast int to double when we return an int.
SVN revision: 32397
2007-11-06 06:12:43 +00:00
Gustavo Sverzut Barbieri d2781df7a0 Missing double->int
SVN revision: 32391
2007-11-05 21:18:35 +00:00
Gustavo Sverzut Barbieri 8faf97e494 Fix ecore_x_screensaver insanity
SVN revision: 32386
2007-11-05 20:47:29 +00:00
doursse be1229247a autostuff improvements:
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
   and check the required minimal versions.
 * add bzipped distribution archive
 * add AC_LIBTOOL_WIN32_DLL
 * forbid libtool to check fortran
 * compute libtool versioning from the version of the package
 * pass the directories based on ${prefix} to the preoprocessor
   with the -D option
 * replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
 * remove useless -L flags in *_la_LDFLAGS


SVN revision: 32338
2007-11-04 09:29:20 +00:00
tilman 75bd5e8902 Ecore now checks whether the composite extension is available before trying to open an ARGB window.
SVN revision: 31986
2007-10-06 08:37:34 +00:00
Carsten Haitzler 35cd952691 fix valgrind complaint (bad! its a string but its not 0 byte terminated!!!
its just a data lump!).

compact the lists of child windows down based on results of scan of children.

printf--


SVN revision: 31979
2007-10-05 12:39:06 +00:00
Carsten Haitzler 7fb1a30d72 printf--
SVN revision: 31978
2007-10-05 12:24:32 +00:00
Carsten Haitzler 34afff4284 add a shadowed window tree that allows you to fetch all the window tree in 1
hit (well a series of round trips) then keep it stored to find what window a
co-ordinate is in to avoid later round-trips.


SVN revision: 31976
2007-10-05 12:11:45 +00:00
Carsten Haitzler 7a7607d656 ok fixed visibility event. now it works as planned.
SVN revision: 31832
2007-09-27 15:43:08 +00:00
Carsten Haitzler 875a5cc6f9 patches from lutin
SVN revision: 31688
2007-09-11 12:27:03 +00:00
Carsten Haitzler 38962990d0 lok's xdnd work.
SVN revision: 31377
2007-08-18 10:35:47 +00:00
Peter Wehrfritz cd20fbc9d9 *API BREAK* see the discussion in the mailing list. misc and e_modules will follow
SVN revision: 30970
2007-07-25 17:01:04 +00:00
Carsten Haitzler db6835417d we really don't need this event filter. remove.
SVN revision: 30339
2007-06-16 03:29:43 +00:00
tilman c9ddb45e1f don't check for errors in the xcb_create_colormap call
SVN revision: 29974
2007-05-13 08:40:28 +00:00
tilman d516be0740 refactored event handling code somewhat
SVN revision: 29966
2007-05-12 13:37:16 +00:00
tilman ff3449dd48 remove debugging helpers
SVN revision: 29965
2007-05-12 13:28:04 +00:00
tilman 1e6ce6f2fc pass the right window to xcb_create_colormap
SVN revision: 29964
2007-05-12 13:18:34 +00:00
tilman 82f3a8d08c check for pict formats with depth == 32src/lib/ecore_x/ecore_xcb_window.c
SVN revision: 29963
2007-05-12 12:34:00 +00:00
tilman d9a2904f19 don't look up our screen twice
SVN revision: 29960
2007-05-12 11:28:09 +00:00
tilman 84c04021f8 those indices look a bit fragile to me ...
SVN revision: 29951
2007-05-11 17:53:50 +00:00
tilman 3af57389ca fixed atom retrieval. atom names are NOT NUL-terminated.
SVN revision: 29950
2007-05-11 17:31:49 +00:00
tilman d5c7189898 keep the atom init cookie list in a local variables, rather than in global variables. memory usage--
SVN revision: 29910
2007-05-07 18:21:53 +00:00
tilman 79e2242f6b global string tables suck ass. this is better.
SVN revision: 29906
2007-05-07 17:57:46 +00:00
rephorm 3259061f6e if we can't convert to the requested target, fail so that requesting app can re-request a different type
fix broken logic  (!foo == -1) is always false


SVN revision: 29616
2007-04-21 02:57:51 +00:00
doursse 61543a8933 Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
   configuration. To enable it, add --enable-ecore-x-xcb. See the
   messages that configure displays when it finishes.
 * The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
   should be improved
 * Any program that uses ecore_evas does not need to be modified.
   Any program that uses ecore_x may need some changes. That is,
   adding some functions (_prefetch and _fetch ones). No other
   change is needed. See the documention of any _get functions, as
   these are the ones that need those functions.
 * There are some missing parts, especially everything that involves
   the keyboard, as porting Xlib functions related to strings (utf8
   stuff, XKeysymToString, etc...) is an horror. So keyboard events
   are not working yet.
 * I tried to write as much documentation as I could. But there is
   certainly some missing doc here and there.

there are certainly other things that I have forgotten.

Improvements of that backend:
 * the creation of an ecore_evas is faster. Especially when done over
   an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
   over an ssh)
 * A Window Manager should be more responsive. But it's not tomorrow
   that e17 will use it :)

Have fun !


SVN revision: 29500
2007-04-13 17:15:19 +00:00
Kim Woelders d7864b4d6b Add missing declaration (ECORE_X_ATOM_NET_STARTUP_ID).
SVN revision: 29447
2007-04-08 20:52:54 +00:00
Carsten Haitzler c6f6863b57 so ravenlock gets his screensaver stuff in
SVN revision: 29343
2007-04-04 11:43:29 +00:00
tilman 4705ff7f0b removed ecore_x_reply. we don't need to link to ecore_job anymore, either.
SVN revision: 28843
2007-03-21 03:03:33 +00:00
Christopher Michael 75f052383e Part 1 of ravenlocks mouse acceleration patch that provides the ecore_x
functions for setting mouse accel.


SVN revision: 28821
2007-03-20 00:54:49 +00:00
Michael Jennings feabcdfe64 Thu Mar 15 12:20:27 2007 Michael Jennings (mej)
Re-apply the previously reverted patch and add (I think) the correct
fix for ecore-config.  I haven't tested this extensively, but edje
builds okay with it, so hopefully it's right.
----------------------------------------------------------------------


SVN revision: 28755
2007-03-15 22:21:28 +00:00
Michael Jennings 3edb26cf60 Wed Mar 14 21:57:38 2007 Michael Jennings (mej)
Reverting changes; kindly test patches BEFORE applying them.
----------------------------------------------------------------------


SVN revision: 28732
2007-03-15 07:57:43 +00:00
doursse 4fb1500d27 accidently removed screensaver test
SVN revision: 28726
2007-03-15 00:32:30 +00:00
doursse 9185ef8961 use AC_CHECK_X_EXTENSION macro to check X extension
SVN revision: 28725
2007-03-15 00:26:39 +00:00
doursse bbbec0d61e add ecore_x_drawable.c
SVN revision: 28723
2007-03-15 00:23:56 +00:00
Sebastian Dransfeld 36e603707f Check if screensaver extension is available.
SVN revision: 28720
2007-03-14 12:11:21 +00:00
Sebastian Dransfeld ff2d251911 Only wrap Screensaver extensions.
SVN revision: 28719
2007-03-14 12:06:49 +00:00
Sebastian Dransfeld 70be3f56aa For all who writes X wrappers. If a user decides to not link against a
library, the functions will not resolve at link time. So we need to wrap
them in cpp #ifdef's.


SVN revision: 28709
2007-03-14 01:40:16 +00:00
Christopher Michael a90e76863a With Seb's recent #ifdef's the if (!dpms_available) checks are not needed now.
SVN revision: 28700
2007-03-13 16:49:48 +00:00
Sebastian Dransfeld 8e3275490b Declare function.
SVN revision: 28698
2007-03-13 16:29:02 +00:00
Sebastian Dransfeld aae6f6e920 Support for system which do not have DPMS at all.
SVN revision: 28693
2007-03-13 16:05:57 +00:00
Christopher Michael 6b4ae8ce60 Call correct DPMSGetVersion function.
SVN revision: 28691
2007-03-13 11:14:44 +00:00
Christopher Michael c537ed8e3c Fix up ecore_x_dpms...formatting, removed the static int's for dpms version
as they are not used anywhere other than the init function. Added traps for
dpms_available before calling any dpms functions.


SVN revision: 28687
2007-03-13 09:30:17 +00:00
doursse de95d8bd42 Move cursor and drawable functions to their own file. DPMS: Add doc, init function, ecore_x_dpms_timeouts_get and rename ecore_x_dpms_capable. As my xorg does not have the dpms extension, someone else has to add its test in configure.in (like other extensions)
SVN revision: 28627
2007-03-09 01:11:09 +00:00
Christopher Michael 6b044dfb13 Applied Ravenlock's screensaver patches.
SVN revision: 28345
2007-02-13 16:24:37 +00:00
Christopher Michael c6652505b7 Added Ravenlock's DPMS code for ecore_x.
SVN revision: 28335
2007-02-13 02:29:01 +00:00
Carsten Haitzler e1f4f1c1cf custom screensaver patches
SVN revision: 27629
2006-12-29 02:56:33 +00:00
Sebastian Dransfeld 368d44ce5d Revert change, premature.
SVN revision: 27515
2006-12-19 06:51:51 +00:00
Sebastian Dransfeld bf9059d260 Convert target to string, the user will probably do this anyway.
SVN revision: 27514
2006-12-19 06:40:30 +00:00
rephorm 73af9d0e82 send proper timestamp to along with selection notify
(fixes pasting into xterm)


SVN revision: 27428
2006-12-13 19:47:17 +00:00
ningerso 1129668231 Allow for handling the selection data conversion externally from ecore_x, but
provide the same auto-conversion when data is set for the selection.
This should work identically as before, except if the app relied on ecore to
send the notification when no data was present, please test your apps.


SVN revision: 27420
2006-12-11 23:05:48 +00:00
ningerso 5cb9a5e8a4 Remove warnings when building without X damage support.
SVN revision: 27416
2006-12-11 07:33:40 +00:00
ningerso 45931feb9e Cleanup warnings when building without support for the X fixes extension.
SVN revision: 27415
2006-12-11 06:33:42 +00:00
ningerso f71fcb3084 Revert a commit that should not have gone in. This was code to address what
appears to be an endianess bug in Apple's X server.


SVN revision: 27325
2006-12-02 06:40:24 +00:00
ningerso 9f0f36e903 Send a selection request event when it occurs and expand the event structure to
include useful information. This event handler needs more work to determine when
to convert the data automatically and when to defer to the application handler.


SVN revision: 27324
2006-12-02 06:37:51 +00:00
Carsten Haitzler c08e0a8af8 fix button up for buttons 8,9 etc.
SVN revision: 27059
2006-11-12 01:32:30 +00:00
Carsten Haitzler 97ad6ae63e unused var.
SVN revision: 27043
2006-11-11 04:34:51 +00:00
Carsten Haitzler 37f6b78efe dont loop over screens - pointless
SVN revision: 27042
2006-11-11 04:27:07 +00:00
Carsten Haitzler 18f1604ccc vincent spotted these. fixed :)
SVN revision: 27035
2006-11-10 15:01:25 +00:00
doursse bb44624d72 cosmetic: the MappingNotify event has id 34 whereas ClientMessage is 33
SVN revision: 27009
2006-11-08 06:33:55 +00:00
Kim Woelders bb3f3b8d83 Selection data should be untyped. Add const. Fix warnings.
SVN revision: 26972
2006-11-05 15:14:49 +00:00
Carsten Haitzler 03e6eca6da ecore + e manager leak fix
SVN revision: 26814
2006-10-28 01:28:01 +00:00
Carsten Haitzler f458cf8448 that was silliness - convert then memcpy anyway.
SVN revision: 26297
2006-10-02 10:37:13 +00:00
Carsten Haitzler 8c93e825a8 same as previous commit.
SVN revision: 26236
2006-09-30 10:18:37 +00:00
ningerso 965166056b Allow data formats other than the specified format when fetching properties.
Pass the actual data format along with property data.


SVN revision: 26206
2006-09-29 05:49:14 +00:00
ningerso d796ac9023 Remove warnings by ifdefing conditonal variables.
SVN revision: 26203
2006-09-29 04:27:39 +00:00
ningerso 006784cbcd Fallback to attempt 16 bit format accepts on selection notifies when the
8 bit format fails. This fixes receiving application/x-color from gimp but is
probably not an ideal solution.


SVN revision: 26190
2006-09-28 18:56:03 +00:00
Dan Sinclair 9e48ad8026 - fix warning
SVN revision: 26075
2006-09-23 20:45:06 +00:00
Kim Woelders d66cfdf684 Requested by tilman.
SVN revision: 25818
2006-09-13 17:45:12 +00:00
moom b69651ceaa * [Ecore_X_Selection] Remove ecore_x_selection_*_request_data_get()
functions from Ecore_X.h since they've never been implemented. Is this
right?


SVN revision: 25192
2006-08-29 22:37:07 +00:00
moom 992bf08f32 * [Ecore_X] "mouse up" events have now double/triple click flags, and
those flags are feeded to the Evas


SVN revision: 25105
2006-08-25 17:27:08 +00:00
Carsten Haitzler 53f8ce92e7 fix x build/link in some weird circumstnaces
SVN revision: 24438
2006-08-07 07:03:12 +00:00
Carsten Haitzler 9f6824c2ab remove modifier masks if they clash
SVN revision: 24360
2006-08-02 07:55:01 +00:00
Carsten Haitzler 904e55e799 icccm respect - yo!
SVN revision: 24032
2006-07-18 18:32:10 +00:00
ningerso 1ce85d7f7f Move the content description for the selection notify into the data.
Add the content description in provided parsers.


SVN revision: 23884
2006-07-14 09:37:11 +00:00
sebastid 72dc506883 Check if the array is larger than 0
Use malloc
Make sure everything is freed


SVN revision: 23362
2006-06-10 19:26:25 +00:00
sndev b877a0e74a * use calloc instead of malloc
* set *argc = 0 if mem for the *argv cannot be allocated.


SVN revision: 23357
2006-06-10 16:54:36 +00:00
sebastid f1bc6c5db4 Remove printf
SVN revision: 23308
2006-06-08 20:03:42 +00:00
sebastid 34f1472f02 Don't return XStringList as a char **.
SVN revision: 23307
2006-06-08 20:02:49 +00:00
Carsten Haitzler d7eee7eee6 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


SVN revision: 23267
2006-06-07 23:30:15 +00:00
sebastid 3a6f861ed6 Use correct mask when sending state request.
SVN revision: 23236
2006-06-07 10:36:47 +00:00
xcomputerman 4c779cfbae Add Visual to window attributes struct
SVN revision: 23151
2006-06-04 05:30:37 +00:00
sebastid f5bd859806 Fix warning
SVN revision: 23034
2006-05-31 19:14:59 +00:00
xcomputerman f9520235e5 Make sure QueryVersion functions are called first.
SVN revision: 22744
2006-05-19 15:09:50 +00:00
xcomputerman f9ed237288 Round out support for XserverRegion.
SVN revision: 22743
2006-05-19 15:02:54 +00:00
xcomputerman 0e8e8f2fd1 Oops. I was up too late last night. Caught a couple of critters too.
SVN revision: 22740
2006-05-19 14:23:04 +00:00
Carsten Haitzler f2056229e7 1. fix ecore to build again (xcomp - u need to cvs add and commit your 2 new
.c files!) and asparagus!


SVN revision: 22732
2006-05-19 09:27:33 +00:00
xcomputerman dc3203d7da Add support for XFixes and XDamage to Ecore_X.
Add atoms for translucency/composite support.


SVN revision: 22729
2006-05-19 06:05:35 +00:00
doursse 721537d546 add ecore_x_netwm_allowed_action_get to the API and remove trailing spaces
SVN revision: 22664
2006-05-17 05:35:56 +00:00
Carsten Haitzler 0285bf4cc9 vincent's netwm get allowed actions ecore patch
SVN revision: 22660
2006-05-17 02:26:52 +00:00
Carsten Haitzler ed1da0103e #ifdef the randr support
SVN revision: 22550
2006-05-12 12:28:06 +00:00
Carsten Haitzler ed43d15147 add xrandr rotation wrappers.
SVN revision: 22544
2006-05-12 07:24:34 +00:00
Christopher Michael 947c1d5e9f --printf
SVN revision: 21544
2006-03-28 18:36:19 +00:00
Christopher Michael 241fa61949 --printf
SVN revision: 21406
2006-03-19 11:05:59 +00:00
rbdpngn 795a124be1 Need to link Xrender if we're going to use it.
SVN revision: 21273
2006-03-13 22:38:53 +00:00
Carsten Haitzler 28f5c148f8 support argb targets for ecore_evas sw_x11
SVN revision: 21121
2006-03-09 03:51:44 +00:00
stffrdhrn 695b9f3805 Keep track of max handlers_num using the handlers_num, not LASTEvent
SVN revision: 21101
2006-03-08 15:07:37 +00:00
Carsten Haitzler e66405d00d another handy routine...
SVN revision: 21096
2006-03-08 10:01:42 +00:00
Carsten Haitzler fa28115273 and work again.
SVN revision: 21092
2006-03-08 08:54:36 +00:00
Carsten Haitzler b187c47974 evilness... but it works.
SVN revision: 21091
2006-03-08 08:02:55 +00:00
stffrdhrn 7cf8f34ad0 Ecore api cleanup:
* keys for key_grab and key_ugrab changed to const char *


SVN revision: 20986
2006-03-04 02:57:06 +00:00
Carsten Haitzler ba83b178da return useful values for grab/ungrab
SVN revision: 20981
2006-03-04 01:30:43 +00:00
Carsten Haitzler 20a3e03f34 SP!
SVN revision: 20942
2006-03-03 06:36:11 +00:00
Carsten Haitzler a9e37e3a66 minimal xscreensaver wrapping so it can be used for lock
SVN revision: 20934
2006-03-03 04:01:15 +00:00
Carsten Haitzler d7840f652b codeset patch from illogict
SVN revision: 20553
2006-02-18 04:35:43 +00:00
Christopher Michael fa508bfaec Some refresh rate fixes
SVN revision: 20251
2006-02-03 21:42:38 +00:00
Christopher Michael c6122c09bf Remove Unused Variable
SVN revision: 20245
2006-02-03 20:04:12 +00:00
Carsten Haitzler 23f7254cce some extra handy calls :)
SVN revision: 20169
2006-02-01 11:24:49 +00:00
Christopher Michael 4f6a9721f6 Remove C++ comments
SVN revision: 20031
2006-01-25 18:52:46 +00:00
Christopher Michael ddc72506e0 Add ecore refresh rate functions.
SVN revision: 20030
2006-01-25 13:29:42 +00:00
Kim Woelders 640fd3375b Add missing.
SVN revision: 19593
2006-01-07 08:32:26 +00:00
Kim Woelders 4b3320bfd0 Fix warnings.
SVN revision: 19578
2006-01-06 21:56:05 +00:00
David Walter Seikel ace06b37f6 At rasters request, I followed his example and told them all to stfu.
SVN revision: 19573
2006-01-06 20:22:09 +00:00
David Walter Seikel 770cb8b3b9 I noticed some duplicates.
SVN revision: 19572
2006-01-06 20:18:41 +00:00
Kim Woelders 34cf6187a7 Add some utility functions for get/setting window properties.
Move a number of ecore_x_window_prop_property_get/set calls to the new ones.
Eliminate broken (64bit arch) _ATOM_SET_... macros.
New functions should be solid as they have been in e16 for ages.
Changes in ecore_x_icccm/netwm.c have not been tested thoroughly.


SVN revision: 19543
2006-01-05 21:41:30 +00:00
Carsten Haitzler 7554f8ee36 actually make symbol hiding work!
SVN revision: 19314
2005-12-27 17:17:31 +00:00
lordchaos ab419159e9 * Clear _source->dest after drag, so if the next drag has the same source window, we still get dnd_position events if we stay inside the same window.
SVN revision: 19078
2005-12-16 23:04:49 +00:00
Carsten Haitzler 0d2c10811e LATIN1->ISO888....
SVN revision: 18843
2005-12-05 03:58:22 +00:00
Carsten Haitzler fd280ca81c only damage the new regions
SVN revision: 18467
2005-11-14 03:25:09 +00:00
Carsten Haitzler adf8c014ba always have the function calls - just optionally have useful internals
SVN revision: 18137
2005-10-30 08:01:47 +00:00
technikolor 66f580a1b4 Last commit forgot to ifdef xcursor breaking Solaris builds
SVN revision: 18127
2005-10-30 07:21:19 +00:00
Carsten Haitzler aafe5bb24e ok damn bsd users - u get to have no alloca - damn lowest common denominator.
SVN revision: 17626
2005-10-17 09:59:23 +00:00
Carsten Haitzler d559cdd4f5 more patrick mautirz patches
SVN revision: 17567
2005-10-15 08:51:52 +00:00
sebastid 0357fa2fe3 reset will_accept status when entering new window.
SVN revision: 17440
2005-10-11 16:43:53 +00:00
sebastid f0e54c13f7 get/set x cursor size.
SVN revision: 17378
2005-10-10 07:50:10 +00:00
tsauerbeck 315c2a045b fix ecore_x_netwm_icons_get()
SVN revision: 17346
2005-10-09 09:56:47 +00:00
sebastid b351ead33a Move dnd stuff to ecore_x_dnd.c, and set default action to copy.
It works!!!


SVN revision: 17323
2005-10-08 14:38:15 +00:00
sebastid 1f2de469f1 Cleanup.
SVN revision: 17320
2005-10-08 13:51:58 +00:00
sebastid a4c3c2868f Dnd updates
Add skip function for window get
Add ignore window list.


SVN revision: 17316
2005-10-08 12:40:14 +00:00
sebastid aa0bd546dd Suppress warnings.
SVN revision: 17315
2005-10-08 12:39:07 +00:00
sebastid aea2f11d2e Remove const.
SVN revision: 17279
2005-10-07 19:32:36 +00:00
sebastid 24c1ced35f And the prototype.
SVN revision: 17278
2005-10-07 19:04:59 +00:00
sebastid f06e1cd8c8 Func to set all dnd types in one call.
SVN revision: 17277
2005-10-07 18:49:39 +00:00
sebastid 2eca3bd0d2 Don't print bogus error messages.
SVN revision: 17275
2005-10-07 18:18:17 +00:00
sebastid 619fc03aed Query Xinerama first.
SVN revision: 17264
2005-10-07 08:33:10 +00:00
sebastid bd793035ca Error if \0 inside quotes.
SVN revision: 17163
2005-10-04 17:41:08 +00:00
sebastid 163778cfc2 Startup info. Disabled since the event isn't completed and nothing uses it.
SVN revision: 17086
2005-09-30 06:16:49 +00:00
sebastid f0202d9024 Fetch all netwm icons.
SVN revision: 16935
2005-09-25 16:48:30 +00:00
Carsten Haitzler 1c1ba59b79 exact checks only!
SVN revision: 16924
2005-09-25 02:14:01 +00:00
sebastid de083d7324 Check that we get enough data for width and height.
SVN revision: 16917
2005-09-24 13:18:43 +00:00
Carsten Haitzler 7c0400bfc8 some paranoia added for badly formed properties
SVN revision: 16912
2005-09-24 11:36:22 +00:00
Carsten Haitzler 7e34d600b7 just DONT ask! DONT! x. focvus. client, self, not getting key events... fuck!
workarounds.


SVN revision: 16904
2005-09-24 09:00:23 +00:00
Carsten Haitzler 6d85e6e009 provide modifiers with wheel events!
SVN revision: 16846
2005-09-22 11:46:02 +00:00
Carsten Haitzler 7a6f87f198 some support for launch id in netwm.
SVN revision: 16706
2005-09-14 03:26:23 +00:00
Kim Woelders 58a7bd76f5 Define SIZEOF_LONG, fix warnings.
SVN revision: 16665
2005-09-07 23:21:42 +00:00
rephorm b1a0a81c7c avoid the malloc / copy routine when int's and longs are the same size
SVN revision: 16663
2005-09-07 22:16:49 +00:00
sebastid 087319c5c0 Completely wrong. Don't make private.
SVN revision: 16657
2005-09-07 09:50:14 +00:00
sebastid a76a8146c7 Make subsystem init private.
SVN revision: 16656
2005-09-07 09:31:36 +00:00
sebastid fa12ab4099 Don't need to include Ecore_X.h here, the file is useless without the
rest of ecore_x.


SVN revision: 16634
2005-09-07 02:53:39 +00:00
sebastid 4560214bed stdlib.h is included in ecore_private.h from ecore_x_private.h
SVN revision: 16627
2005-09-06 23:18:29 +00:00
rephorm e7aae96593 Get this fixed the proper way...
SVN revision: 16613
2005-09-06 03:43:02 +00:00
rephorm 35c8148ffa So, according to raster and the XGetWindowProperty man page, this should in fact be a long, not an int. (though this is still broken under ubuntu-64 here)
SVN revision: 16612
2005-09-06 03:25:05 +00:00
rephorm 3833561118 change this cast to an int so things will work on both 32 _and_ 64 bit processors.
now all of us with athlon-64's can restart E without losing the desktop positions of all our windows :)


SVN revision: 16607
2005-09-06 00:52:43 +00:00
sebastid d758ca86bb Header cleanup. Don't include unneeded headers in system lib header.
SVN revision: 16550
2005-09-05 10:17:08 +00:00
sebastid 7068ed1fc0 Define pid_t
SVN revision: 16513
2005-09-04 00:25:20 +00:00
Carsten Haitzler e0d908af71 report unfound steppping at -1 so we know more :)
SVN revision: 16369
2005-08-26 10:00:15 +00:00
Carsten Haitzler 6ad4e5e98e alloc checks
SVN revision: 16297
2005-08-23 08:18:17 +00:00
Carsten Haitzler b8955c9f1f handle circulate events...
SVN revision: 16292
2005-08-23 03:47:55 +00:00
sebastid 4468e67fa0 Don't divide by 0.
SVN revision: 16216
2005-08-17 00:30:09 +00:00
Carsten Haitzler f69ffbf261 64bit fix
SVN revision: 16201
2005-08-16 08:40:55 +00:00
sebastid 86bfc3c2ac Updates to randr.
SVN revision: 16144
2005-08-14 10:21:08 +00:00
sebastid cac5ded864 Add xrandr.
Check for Xprint extension before using Xprint functions.


SVN revision: 16137
2005-08-13 22:14:40 +00:00
Carsten Haitzler 34fd99a287 lets make buttons 6 and 7 be another mouse wheel goign in another direction -
eh? :)


SVN revision: 15960
2005-07-30 11:43:17 +00:00
Carsten Haitzler 25ee18e1ed return proper default if accpet focus hint simply not provided
SVN revision: 15926
2005-07-28 07:38:37 +00:00
Carsten Haitzler 02ecad26ea remove random lockups in click to focus and sometimes pointer focus - lets
have this tested for a while...


SVN revision: 15749
2005-07-12 15:27:46 +00:00
Carsten Haitzler 26b608ceb0 well it seems x changed how it maps keysyms to keycodes to break our keysym
finder... but now i changed it to play a different game. :)


SVN revision: 15747
2005-07-12 13:54:39 +00:00
Carsten Haitzler c29fb4435e printf--
SVN revision: 15707
2005-07-10 09:42:19 +00:00
Carsten Haitzler 4d0028e1b7 printf--
SVN revision: 15706
2005-07-10 09:40:14 +00:00
Carsten Haitzler 33f8163029 fix grabs and double/triple clicks
SVN revision: 15700
2005-07-10 07:34:10 +00:00
Carsten Haitzler 36b2e425f7 special case - if direct resize on AND avoid damage... THEN use window bg
pixmap. :)


SVN revision: 15531
2005-06-25 07:23:38 +00:00
Carsten Haitzler b89cbfc687 dont segv if get text prop fails and stack has garbage on it
SVN revision: 15529
2005-06-25 00:15:19 +00:00
Carsten Haitzler 94c5dabec5 only handle errors for ecore's display handle - not others :)
SVN revision: 15481
2005-06-22 06:47:44 +00:00
Carsten Haitzler e9e3bed845 man thats bad. leak AND we dont get the client leaer property right! fix.
SVN revision: 15380
2005-06-17 09:05:22 +00:00
Carsten Haitzler fb47ce6b94 follow x icccm focus model explicitly
SVN revision: 15374
2005-06-17 06:13:54 +00:00
sebastid 7523c7699b If the window hasn't any sizehint, reset the struct.
SVN revision: 15271
2005-06-12 11:49:39 +00:00
sebastid 0d0d458f76 Remove unused prototypes.
SVN revision: 15268
2005-06-12 11:03:18 +00:00
sebastid 6cf0e8228a Don't return on error, might be because there are no hints.
SVN revision: 15231
2005-06-10 09:15:17 +00:00
sebastid da60c9de1b Make ecore evas use netwm and icccm, not window_prop.
Window_prop is gone, but maybe resurrect some parts of it as a wrapper
around icccm/netwm as convencience functions?


SVN revision: 15227
2005-06-10 04:18:24 +00:00
Carsten Haitzler adb1341f15 1 mask to many
SVN revision: 15189
2005-06-08 07:58:28 +00:00
Carsten Haitzler ca90b8d7ed oops - copy & paste bugs
SVN revision: 15187
2005-06-08 01:45:59 +00:00
sebastid 990a827101 The LAST netwm update. Made all function prototypes similar, return int
on get (error or not) and no return from set.


SVN revision: 15179
2005-06-07 15:34:54 +00:00
sebastid 9ee64d258a Don't send message to nonexisting windows.
SVN revision: 15173
2005-06-07 07:43:58 +00:00
sebastid 1c29ff504b XSync and netwm sync.
SVN revision: 15162
2005-06-06 15:04:28 +00:00
sebastid b799ec80fc Cleanup, and add XSync support.
SVN revision: 15159
2005-06-06 09:40:00 +00:00
sebastid f8266f2a18 Catch ping event.
SVN revision: 15136
2005-06-05 14:46:55 +00:00
sebastid b7c40c5e93 Function to ping windows with _NET_WM_PING.
SVN revision: 15135
2005-06-05 14:38:42 +00:00
sebastid 8af53488ae Fix wrong cast, and some updates.
SVN revision: 15132
2005-06-05 08:25:48 +00:00
sebastid 16dc9e614a set/get supported as a list.
Don't use XFree on data allocated by ecore.


SVN revision: 15118
2005-06-04 10:01:23 +00:00
sebastid 6670dff66f Cleanup.
SVN revision: 15111
2005-06-04 05:43:11 +00:00
sebastid 5a21529d23 Update.
SVN revision: 15107
2005-06-03 19:53:07 +00:00
sebastid 760a75c48c Stupid me.
SVN revision: 15106
2005-06-03 19:46:40 +00:00
sebastid 9f6deaadf2 Hah!
SVN revision: 15105
2005-06-03 19:26:41 +00:00
sebastid 88ef96ff4e Hm
SVN revision: 15104
2005-06-03 19:25:13 +00:00
sebastid c20549031d Event for _NET_REQUEST_FRAME_EXTENTS
SVN revision: 15102
2005-06-03 19:00:01 +00:00
sebastid 9a48d8556f Nope. Split functions completely. Let subsystem handle the difference.
SVN revision: 15086
2005-06-03 12:11:27 +00:00
sebastid cb51ef97ac Let STRUT_PARTIAL check STRUT on failure.
SVN revision: 15085
2005-06-03 12:05:10 +00:00
sebastid af9f9b72c6 Time can't be negative.
SVN revision: 15084
2005-06-03 11:58:10 +00:00
sebastid 235e22abc2 Fix.
SVN revision: 15077
2005-06-03 05:38:20 +00:00
Carsten Haitzler f8fb37a45e handle NULL data ret - and we can just memcpy - the netwm spec matches
imlib2/evas ARGB pixel format.x


SVN revision: 15073
2005-06-03 01:18:58 +00:00
sebastid 639bde5915 _NET_WM_ICON
SVN revision: 15067
2005-06-02 20:14:13 +00:00
sebastid 09fc45f3c8 Set complete state at once.
SVN revision: 15033
2005-05-31 06:51:50 +00:00
sebastid 24e0230079 Get/Set icon name in utf8
SVN revision: 15012
2005-05-29 10:52:42 +00:00
sebastid 2227605773 Get complete state of a window.
SVN revision: 15009
2005-05-29 09:52:56 +00:00
sebastid 6d1880bef5 Hm, there it was.
SVN revision: 14993
2005-05-28 17:06:51 +00:00
sebastid 42ecef7392 Maybe raster meant to commit this function?
SVN revision: 14991
2005-05-28 17:04:49 +00:00
Carsten Haitzler 49ac378900 property calls
SVN revision: 14990
2005-05-28 16:59:03 +00:00
sebastid b08c90e523 Add movresize event.
State -> State_Request


SVN revision: 14985
2005-05-28 12:49:40 +00:00
sebastid 74e94cfb71 Use convenience functions, and icccm shouldn't bother with netwm.
SVN revision: 14984
2005-05-28 11:53:14 +00:00
Carsten Haitzler cde252a7f6 safety checks
SVN revision: 14932
2005-05-25 05:40:03 +00:00
Carsten Haitzler b4f5f1315f cleanups from clement
SVN revision: 14892
2005-05-22 03:01:59 +00:00
Carsten Haitzler 0ef7b7e31e safe grab/ungrab
SVN revision: 14868
2005-05-20 09:22:10 +00:00
sebastid 17e9714ac7 A desk must always have a positive value.
SVN revision: 14815
2005-05-17 12:23:15 +00:00
sebastid f609c9b3a7 debugging message.
SVN revision: 14814
2005-05-17 11:59:50 +00:00
sebastid 11c35549e6 Add event for desktop change request.
SVN revision: 14809
2005-05-16 15:42:50 +00:00
sebastid f43fd99b4f Cleanup and netwm work.
SVN revision: 14804
2005-05-16 12:59:26 +00:00
Carsten Haitzler 32b7ff4314 handle binding raw keycodes too
SVN revision: 14564
2005-05-03 04:28:15 +00:00
sebastid 4efff6222e Send an Ecore_X_Event_Window_State on WM_CHANGE_STATE message with
Iconic request.


SVN revision: 14546
2005-05-02 08:13:25 +00:00
sebastid 72a883610c Fill in the detail from the configure request.
SVN revision: 14545
2005-05-02 07:13:52 +00:00
Carsten Haitzler 90fce673a3 i wonder... if its the Menu key thing that fucks peoples focus up? ie they
dont have one and it ends up resolving to all keys and...


SVN revision: 14526
2005-05-01 14:12:23 +00:00
Carsten Haitzler b6d502936e add call for geting mosue xy - last_xy wasnt good enough :(
SVN revision: 14511
2005-04-30 06:55:20 +00:00
Carsten Haitzler 89d30febf0 working on... keybindings for e17...
SVN revision: 14504
2005-04-29 19:36:18 +00:00
sebastid cd97600ce3 One step closer to deprecating ecore_x_window_prop.c
SVN revision: 14482
2005-04-29 08:48:04 +00:00
sebastid 5544133f78 Create event for window state change.
SVN revision: 14453
2005-04-28 12:26:34 +00:00