Commit Graph

662 Commits

Author SHA1 Message Date
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
sebastid d3fc2471b2 Get a better current time.
SVN revision: 14439
2005-04-28 07:48:16 +00:00
sebastid 13a15bed18 Add ewmh protocols, and return -1 if E doesn't know the protocol
SVN revision: 14435
2005-04-28 06:50:11 +00:00
Carsten Haitzler 0f3c218fb3 correct return handling
SVN revision: 14399
2005-04-27 07:46:57 +00:00
Carsten Haitzler 517003f3c8 aaaahmmm.. no.. this.. oops
SVN revision: 14343
2005-04-25 08:40:58 +00:00
sebastid b732a2b903 Fix
SVN revision: 14340
2005-04-25 08:26:48 +00:00
Carsten Haitzler 6d90182cc1 add utility function for clipping shapes to a rect
SVN revision: 14306
2005-04-23 05:06:18 +00:00
sebastid 55cfa78e75 XWarpPointer wrapper
SVN revision: 14296
2005-04-22 08:46:05 +00:00
Carsten Haitzler 2754966dee help us do icccm correctly...
SVN revision: 14249
2005-04-19 13:39:02 +00:00
Carsten Haitzler 048656c31f basic core of shape support
SVN revision: 14172
2005-04-13 15:47:53 +00:00
sebastid 3a4c333d9e Cleanup
SVN revision: 14144
2005-04-11 21:41:45 +00:00
sebastid f07f36b661 Selection and DND update. Broke some api's, so please update.
SVN revision: 14132
2005-04-10 10:20:18 +00:00
sebastid 5b4db3cfc2 Accept both \r\n and \n as file termination.
SVN revision: 13892
2005-03-24 20:52:27 +00:00
handyande 7a3a3397ec _Think_ this is the right fix... - report new files in new records
SVN revision: 13888
2005-03-24 19:24:09 +00:00
sebastid f618d7017e dnd
SVN revision: 13887
2005-03-24 18:14:08 +00:00
sebastid fecfc2ad96 More dnd. Dragging works now.
SVN revision: 13885
2005-03-24 15:45:33 +00:00
sebastid 83ea927187 Working on dnd drag. Doesn't quite work yet....
SVN revision: 13877
2005-03-23 18:33:50 +00:00
sebastid f919722f06 More dnd cleanup.
SVN revision: 13875
2005-03-23 15:40:53 +00:00
Carsten Haitzler 4f00524964 xprint support to weed out xprint screens from the root list - they arent
real roots - they are special... :)


SVN revision: 13873
2005-03-23 11:49:48 +00:00
sebastid 90eccc9123 DND
SVN revision: 13872
2005-03-23 10:53:34 +00:00
sebastid 40658606dd The start of some dnd cleanups.
- Formatting
- ecore_x_dnd_type_set() to set the type of a dnd object
- Fix SelectionNotify to accept dnd
- ecore_x_selection_xdnd_request_data_get() to get the data from a drop


SVN revision: 13866
2005-03-22 21:59:35 +00:00
sebastid 5e3c526dde Formatting.
SVN revision: 13858
2005-03-22 19:34:10 +00:00
sebastid 4b176fb622 Right constant.
SVN revision: 13815
2005-03-20 18:25:47 +00:00
Carsten Haitzler 9760bb03f4 add an "old e hints" codebase
SVN revision: 13730
2005-03-14 15:32:10 +00:00
Carsten Haitzler 5856cddd6f autopackage ecore...
SVN revision: 13679
2005-03-10 15:19:43 +00:00
Kim Woelders d9f8f8842d Fix prototype.
SVN revision: 13669
2005-03-09 23:11:49 +00:00
Carsten Haitzler de28192bda kwo's ecore cleanup patch
SVN revision: 13559
2005-03-02 07:06:44 +00:00
sebastid 3cfec3dabd Formatting, and add ecore_icccm_state_set()
SVN revision: 13364
2005-02-15 11:27:24 +00:00
sebastid 0a40e021e8 Add ecore_x_icccm_state_get()
SVN revision: 13363
2005-02-15 11:24:25 +00:00
sebastid ec285a0684 Fix ecore_x_netwm_strut_partial_set()
Always return 0 or 1


SVN revision: 13362
2005-02-15 11:21:47 +00:00
sebastid 84c6a23611 Formatting.
SVN revision: 13287
2005-02-10 12:27:13 +00:00
sebastid 797e6695db If the title isn't utf8, convert it! (If utf8 is available).
SVN revision: 13286
2005-02-10 12:14:37 +00:00
Carsten Haitzler e8c7d1b52e seb's patch
SVN revision: 13221
2005-02-07 13:51:05 +00:00
tsauerbeck 30e1b387c8 fix build on systems w/o xinerama support
SVN revision: 13197
2005-02-05 12:59:35 +00:00
Carsten Haitzler fc9a86ee6e make sure those protocols handle unknown ones as 0
SVN revision: 12951
2005-01-13 13:48:38 +00:00
Carsten Haitzler f596b543b6 netwm frame hint
SVN revision: 12948
2005-01-13 07:13:06 +00:00
Carsten Haitzler 33e8469d58 support grab and confine to window
SVN revision: 12899
2005-01-11 13:31:13 +00:00
Carsten Haitzler c69ac56863 add get for last x,y root recorded co-ords. only works once events come in
and only works on LAST event recieved


SVN revision: 12897
2005-01-11 13:10:57 +00:00
Carsten Haitzler fb7f6e24c6 i added xinerama supprot to ecore...
SVN revision: 12865
2005-01-10 13:11:50 +00:00
Carsten Haitzler 38c10ceede some debuggies
SVN revision: 12795
2005-01-06 09:08:20 +00:00
Kim Woelders e95144df3c Some hackish bits to enable cleaner e17 shutdown.
SVN revision: 12792
2005-01-05 23:35:16 +00:00
handyande 68d6c5facf Change the colour calls to work on all bitdepths
SVN revision: 12744
2005-01-04 21:54:10 +00:00
Carsten Haitzler e4170fb2bf hmm never mind.. a -I not a -l... ARGH!
SVN revision: 12735
2005-01-04 14:07:03 +00:00
Carsten Haitzler 384e7c6c78 query for color cursor support
SVN revision: 12734
2005-01-04 13:43:27 +00:00
Carsten Haitzler c15b8941e3 xcursor support... note the comment in the Makefile.am.
i dont have enough expletives to describe what i think of libtool....


SVN revision: 12733
2005-01-04 10:26:17 +00:00
xcomputerman d5c0e791be Add netwm window state hints to ecore_x_netwm.c
SVN revision: 12643
2004-12-30 05:36:01 +00:00
Kim Woelders 207753b840 Add event mask as parameter to ecore_x_client_message32_send().
SVN revision: 12626
2004-12-29 12:36:25 +00:00
xcomputerman 823237012b Prevent possible multiple inits
SVN revision: 12607
2004-12-27 18:30:28 +00:00
xcomputerman ec298117ba Plug memory leak
SVN revision: 12606
2004-12-27 18:28:14 +00:00
Carsten Haitzler 41ae2f3795 listed for xrander configure events.... :)
SVN revision: 12586
2004-12-25 15:15:29 +00:00
Carsten Haitzler b196ee51ed actually use time field
SVN revision: 12583
2004-12-25 13:13:57 +00:00
Carsten Haitzler e62d013119 handle xdarwin better :)
SVN revision: 12563
2004-12-23 05:17:59 +00:00
Carsten Haitzler fb1670bf43 kill of a single client call added
SVN revision: 12475
2004-12-15 11:48:33 +00:00
Kim Woelders a1a6f6b283 Gah - fix.
SVN revision: 12425
2004-12-09 19:29:24 +00:00
Kim Woelders aef7a9f080 NetWM function fixes, and a few new ones.
SVN revision: 12408
2004-12-08 20:29:45 +00:00
Kim Woelders e5b3effc54 Introduce ecore_x_icccm_init(), add ECORE_X_ATOM_WM_NORMAL_HINTS.
SVN revision: 12358
2004-12-05 08:29:10 +00:00
Kim Woelders 1611c78704 Make ecore_x atoms public.
SVN revision: 12352
2004-12-04 10:10:29 +00:00
Carsten Haitzler 23f1dc55f4 button grabs... a start...
SVN revision: 12347
2004-12-04 03:54:04 +00:00
Kim Woelders c53fa699b8 Add a few netwm functions.
SVN revision: 12317
2004-11-29 23:25:12 +00:00
Kim Woelders be4d25d739 Fix incorrect function name.
SVN revision: 12316
2004-11-29 22:30:14 +00:00
Kim Woelders 45c91b2131 Trivial fixes to avoid compiler warnings.
SVN revision: 12314
2004-11-29 22:26:37 +00:00
tsauerbeck b2ce0225c4 warning fix
SVN revision: 12282
2004-11-27 15:17:30 +00:00
tsauerbeck bddb4a879a use the correct indices
SVN revision: 12281
2004-11-27 15:12:53 +00:00
xcomputerman 7dc72ae66a Add transient_for, window_role and client_leader hints
SVN revision: 12270
2004-11-26 08:27:45 +00:00
xcomputerman 2925454ff0 Add icon name set/get, colormap window set/unset ICCCM functions
SVN revision: 12269
2004-11-26 07:28:51 +00:00
xcomputerman 00ea891439 More ICCCM code, replicated from window_prop*. Corresponding functions are
deprecated and will be removed in the future.


SVN revision: 12268
2004-11-26 06:42:24 +00:00
xcomputerman dcc1b8cea2 It's MWM, not ICCCM. :)
SVN revision: 12266
2004-11-26 05:58:28 +00:00
Carsten Haitzler 80875741e7 borderless hint mwm stuff PROPERLY done...
SVN revision: 12256
2004-11-25 14:09:24 +00:00
Carsten Haitzler feb5571092 hidden symbol support
SVN revision: 12252
2004-11-25 05:18:31 +00:00
Carsten Haitzler de8fe90ded leak schmeak! bad!
SVN revision: 12244
2004-11-24 08:52:22 +00:00
Carsten Haitzler c1618e59fc i can't believe that didnt segv! fixed.
SVN revision: 12243
2004-11-24 07:27:58 +00:00
Carsten Haitzler edab59238a extra ecore_x and ecore_evas features for e17.. :)
SVN revision: 12241
2004-11-23 15:17:56 +00:00
Carsten Haitzler 393327f67f fix ecore_x and ecore-evas to work in multihead at all... :)
SVN revision: 12224
2004-11-19 08:16:49 +00:00
Carsten Haitzler 44b34b4b89 disable this for now... see comment.
SVN revision: 12223
2004-11-19 05:49:16 +00:00
Carsten Haitzler db82afca3b some defines, a fix for ecores main loop so if an idle enterer generates
events we dont sit and wait on timers or fd's before processing them.


SVN revision: 12145
2004-11-08 00:08:26 +00:00
Carsten Haitzler 9b891c8217 some iccm
LDFLAGS.


SVN revision: 12128
2004-11-02 04:03:27 +00:00
tsauerbeck 651db919e4 another doxygen fix
SVN revision: 12100
2004-10-30 19:27:13 +00:00
tsauerbeck 1295244f80 tiny doxygen fix
SVN revision: 12098
2004-10-30 19:19:57 +00:00
Kim Woelders f1cd7eb5c7 Move NetWM atoms to ecore_x_netwm.c. Added ecore_x_netwm_wm_identify().
SVN revision: 12044
2004-10-27 21:50:58 +00:00
xcomputerman ceb2210f85 Xdnd: Handle drag motion events and check that status rectangle
SVN revision: 12002
2004-10-24 05:52:07 +00:00
xcomputerman 98d8bb8ede Flesh out a little more Xdnd code
SVN revision: 12001
2004-10-24 03:58:11 +00:00
Kim Woelders 1f4b3d97dd netwm function prototypes.
SVN revision: 11976
2004-10-23 14:49:06 +00:00
Kim Woelders 06a2084540 An initial ecore_x_netwm.c.
SVN revision: 11974
2004-10-23 14:26:25 +00:00
Carsten Haitzler d9bc711567 moe work on iccccccccccccccccccm not much
SVN revision: 11973
2004-10-23 02:19:19 +00:00
Carsten Haitzler acfe995563 ok fix some things with SSL and ecore_evas. you ALWYAs have at least the api
to do ssl and al fo ecorE_evas stuff

BUt ecore_* may not be BUILT with that support
so the api stub exists
but it may just return NULL. theres calls to query for support here.


SVN revision: 11957
2004-10-22 03:41:49 +00:00
Carsten Haitzler 6114ce9d29 cleaner build
SVN revision: 11935
2004-10-21 03:16:32 +00:00
tsauerbeck 63f3874903 better vim modelines for raster code
SVN revision: 11910
2004-10-19 16:50:27 +00:00
Carsten Haitzler e764a022e7 ecore_config uses eet for storage now... check the disk space savings:
-rw-r--r--  1 raster raster 12288 Oct 19 15:29 config.db
-rw-r--r--  1 raster raster   687 Oct 19 15:29 config.eet

also.. edb goes back to obscurity as a little/non use lib again :)


SVN revision: 11902
2004-10-19 06:34:21 +00:00
Carsten Haitzler 8faef87e2f more handy fucns for... you know what... :)
SVN revision: 11895
2004-10-17 15:29:43 +00:00
Carsten Haitzler 1fff84ea1a some mroe calls... guess what i'm doing eh? :)
SVN revision: 11894
2004-10-17 12:29:02 +00:00
Carsten Haitzler 011f0e3ef5 move to simpler calls.
SVN revision: 11892
2004-10-17 06:21:21 +00:00
ncn 4dc39d4dfa Some restructuring, clean up, grouping, explaining, etc. Getting there...
SVN revision: 11696
2004-09-22 08:17:15 +00:00
Kim Woelders be77d65356 Some client message and ICCCM related functions.
SVN revision: 11687
2004-09-21 19:18:45 +00:00
handyande e6ac57ddb6 Add setting background color of an Ecore_X_Window
SVN revision: 11685
2004-09-21 13:19:18 +00:00
Kim Woelders 0928ca37f7 Introduce ecore_x_disconnect().
SVN revision: 11553
2004-09-07 19:47:46 +00:00
tsauerbeck 2b638f5c48 implemented ecore_x_window_prop_borderless_get()
SVN revision: 11506
2004-09-02 18:45:31 +00:00
tsauerbeck 88b64b0631 added some sanity checks to ecore_x_window_property_get
SVN revision: 11505
2004-09-02 18:22:19 +00:00
tsauerbeck f702251c5d added ecore_x_window_configure
SVN revision: 11418
2004-08-28 09:58:39 +00:00
tsauerbeck b8e67c3057 implemented events WINDOW_CONFIGURE_REQUEST and WINDOW_RESIZE_REQUEST (configure request done by werkt)
SVN revision: 11405
2004-08-27 22:33:56 +00:00
tsauerbeck c781c0b4bc formatting fixes. added vim modeline
SVN revision: 11391
2004-08-26 18:05:25 +00:00
tsauerbeck 0360534032 don't allow ecore_x_window_border_width_get/set calls on the default root window.
SVN revision: 11390
2004-08-26 18:00:42 +00:00
tsauerbeck 5dd253c9ad added ecore_x_window_border_width_set()
SVN revision: 11389
2004-08-26 17:50:33 +00:00
Carsten Haitzler 74218f9611 tilman's xcursor patch
SVN revision: 11380
2004-08-25 23:41:57 +00:00
tsauerbeck ebf95c2418 grrr, compile before you commit\!
SVN revision: 11325
2004-08-23 10:47:20 +00:00
tsauerbeck 95dcbdf55d added ecore_x_window_delete_request_send
SVN revision: 11324
2004-08-23 10:44:22 +00:00
tsauerbeck 4a2f0a12a7 that function is actually called _width_get, not _size_get
SVN revision: 11323
2004-08-23 08:55:42 +00:00
tsauerbeck 288a11f6a9 check for invalid protocol values before accessing the array
SVN revision: 11310
2004-08-22 22:04:12 +00:00
tsauerbeck 108be9ed1c added ecore_x_window_prop_protocol_isset()
SVN revision: 11309
2004-08-22 21:57:07 +00:00
tsauerbeck c9218500d1 haha, this was totally stupid. let the compiler handle the initialization
SVN revision: 11308
2004-08-22 21:44:52 +00:00
tsauerbeck f56faa573b properly initialize data
SVN revision: 11307
2004-08-22 21:03:02 +00:00
xcomputerman e680ebc8e5 Patch from Tilman for root window fallback in ecore_x_event_mask_set().
SVN revision: 11293
2004-08-20 22:37:10 +00:00
Dan Sinclair 14ba519320 - send the _XDND_LEAVE signal on _xdnd_leave instead of _XDND_ENTER
SVN revision: 11253
2004-08-17 20:10:28 +00:00
ncn cc94f7acc7 More documentation, simplification, mode-ification, grouping.
SVN revision: 11202
2004-08-12 11:29:19 +00:00
handyande b733881f0c fixey
SVN revision: 11153
2004-08-05 14:11:20 +00:00
ncn c26e42395a Basically clean-up, simplification, created a few more modules and inserted a doc bug or two.
SVN revision: 11126
2004-08-01 12:48:39 +00:00
rbdpngn 7363ea82b1 More documentation patches from Nicholas Curran.
Added a couple includes to fix builds on minimal systems.


SVN revision: 10841
2004-07-15 13:43:15 +00:00
tsauerbeck dff632179b fixed a memleak in ecore_x_window_prop_state_isset()
SVN revision: 10397
2004-05-31 16:03:28 +00:00
atmosphere 3bf171d7d0 more docs from nicholas curran
SVN revision: 10170
2004-05-12 14:40:08 +00:00
tsauerbeck e21b5dd247 don't use our own event_free callback when the default is good enough
SVN revision: 10141
2004-05-09 08:15:34 +00:00
Carsten Haitzler 093bd1d9c2 nathan's docs :)
SVN revision: 10113
2004-05-08 04:44:04 +00:00
xcomputerman ef06c2b3c7 Pass unhandled ClientMessages to application as an event.
(Thanks, Gen Zhang)


SVN revision: 9984
2004-04-30 17:28:53 +00:00
Carsten Haitzler ab01bcabdb hey guys! can u rememebr to add yourselves to AUTHORS?
SVN revision: 9978
2004-04-30 03:10:17 +00:00
xcomputerman 30179574bd Realign Ecore_X event masks with Xlib event masks. This fixes the bug
causing some input select requests not to work.
*API Change warning*


SVN revision: 9878
2004-04-24 05:49:46 +00:00
xcomputerman 55c7533fc8 - Use XChangeWindowAttributes() instead of XSelectInput()
- Add event_mask_unset to allow deselecting events


SVN revision: 9875
2004-04-23 22:48:21 +00:00
xcomputerman 23d33a8d4f Events:
- Or the requested event mask with the current mask, instead of replacing
  it.
DND:
- Set default action on drop to Ask


SVN revision: 9873
2004-04-23 22:17:01 +00:00
Kim Woelders 01c43c491c Fix client iconify.
ecore_x_window_prop_desktop_request() was probably broken too.
Suggest to remove ecore_x_window_prop_property_notify().


SVN revision: 9692
2004-04-11 21:20:47 +00:00
Kim Woelders 459e2c6368 Make ecore_x_window_prop_state_request() public.
SVN revision: 9690
2004-04-11 21:09:12 +00:00
Kim Woelders 8e6c56ab8d Added the de-iconify (request).
Please put it elsewhere if this is not the proper location, but this is what
the client must do one way or the other.


SVN revision: 9632
2004-04-07 13:16:04 +00:00
Kim Woelders c106370265 Added iconification request.
SVN revision: 9520
2004-03-29 21:10:48 +00:00
tsauerbeck 81ac2fa928 plugged another leak
SVN revision: 9402
2004-03-20 10:16:22 +00:00
tsauerbeck 34e3b8f092 changed ECORE_MIN /MAX to MIN/MAX
SVN revision: 9399
2004-03-19 18:40:09 +00:00
Carsten Haitzler ca94c6eec7 debugging - but more important - configure.in fix!
SVN revision: 9377
2004-03-16 23:52:46 +00:00
xcomputerman 63cab74f85 Fix typo
SVN revision: 9185
2004-03-01 23:08:45 +00:00
xcomputerman 2d071118c6 Xdnd drag code...
SVN revision: 9155
2004-02-29 08:15:47 +00:00
xcomputerman 2ab6962986 Add ecore_x_window_parent_get()
SVN revision: 9153
2004-02-29 04:37:18 +00:00
xcomputerman 9a7832dcdc Implement more functions prerequisite to Xdnd
- ecore_x_window_visible_get() <-- yeah, hard to believe it wasn't there
- ecore_x_server_grab/ungrab <-- that too
- ecore_x_window_at_xy_get()


SVN revision: 9152
2004-02-29 04:29:25 +00:00
xcomputerman be56b5d25a Added generic functions to fetch geometry, border width
and depth for a drawable, and wrapper functions for windows
and pixmaps (overrides previous commit)


SVN revision: 9069
2004-02-21 21:44:48 +00:00
xcomputerman d4a727c911 ecore_x_window_geometry_get() added
SVN revision: 9068
2004-02-21 21:09:13 +00:00
xcomputerman a2df8a3305 Fetch AnyPropertyType from application
SVN revision: 9067
2004-02-21 20:44:37 +00:00
xcomputerman 999135b7e8 Finish up client message handling for Xdnd. Still has a couple of
unresolved cases that will be filled out when the actual dnd process loop
is written.


SVN revision: 9059
2004-02-21 08:58:20 +00:00
Carsten Haitzler 75047789ad slight change in doc comments... get rid of htmlisms...
SVN revision: 9037
2004-02-20 07:06:29 +00:00
xcomputerman cf99e62a4d WM_NAME and WM_CLIENT_MACHINE should not be UTF8 strings, use proper
Xlib functions instead of manually setting the string property.


SVN revision: 8982
2004-02-15 22:33:55 +00:00
xcomputerman 50a3cd34cf Modified patch from kwo. Makes ecore_x_window_prop_withdrawn_set etc. do
the right thing, provides a proper framework for the initial_state
WMHint; fix a bug with client message event in prop_desktop_request()


SVN revision: 8980
2004-02-15 21:37:34 +00:00
tsauerbeck e2d3ecad95 initialize e->modifiers. fixed indentation.
SVN revision: 8909
2004-02-08 19:39:29 +00:00
rbdpngn 696f8624c2 Wrapped the utf8 converter in an ifdef to match other uses in the file.
SVN revision: 8894
2004-02-08 07:49:16 +00:00
rbdpngn 91ac3f026a Missing handler for converting utf8 strings.
SVN revision: 8893
2004-02-08 07:45:37 +00:00
xcomputerman 8ff56f78ad Send and receive XdndStatus messages
SVN revision: 8883
2004-02-07 19:37:47 +00:00
xcomputerman 4230dd4018 Add layer constants to header file and update documentation accordingly
SVN revision: 8877
2004-02-07 12:05:55 +00:00
xcomputerman 665a4eea0a - Fix ambiguity in sticky hints ... NetWM defines two different ways of
making windows sticky, so we'll do both
- Fix desktop_request() function to actually do the right thing
- Add state_request() function


SVN revision: 8876
2004-02-07 11:59:43 +00:00
xcomputerman 825267301e Off-by-one array size is an unnecessary leak.
SVN revision: 8873
2004-02-07 11:20:48 +00:00
xcomputerman 7bd9bb32a1 Another API change suggested by kwo - layer_set() now accepts a value
from 1 to 255, 4 being the "default" layer.


SVN revision: 8872
2004-02-07 11:01:48 +00:00
xcomputerman b9a04789b4 - Fix nasty bug in NetWM state functions that caused it to read 8 bit
values from the vectors instead of 32bit XIDs
- ecore_x_window_prop_layer_set() now calls the state_set function
  instead of trying to manipulate the properties directly


SVN revision: 8871
2004-02-07 10:48:38 +00:00
xcomputerman 42322a763f Mask out the window_type_foo* calls altogether
SVN revision: 8863
2004-02-07 00:50:54 +00:00
xcomputerman ea6e49293b API Change enforced - instead of multiple window_type_foo_* functions, one
window_type_set() function with an enum parameter (ECORE_X_WINDOW_TYPE_*)


SVN revision: 8852
2004-02-06 17:46:47 +00:00
xcomputerman 9555ba07c8 More Xdnd code
- a few functions added to the header
- dnd events added
- more work on client messages


SVN revision: 8829
2004-02-06 05:32:51 +00:00
xcomputerman 2a7be94297 Teh xdnd cometh!
No, it doesn't even remotely do anything useful yet.


SVN revision: 8812
2004-02-05 07:14:56 +00:00
tsauerbeck 9d7fe9552c memleak fixes
SVN revision: 8797
2004-02-04 17:43:41 +00:00
Kim Woelders 79fa670e3f Added some more _NET... atoms.
SVN revision: 8746
2004-02-01 11:00:41 +00:00
Kim Woelders 4fac2bf8d1 Suggesting a minor change to ecore_x_window_prop_window_type_set().
SVN revision: 8707
2004-01-28 21:48:27 +00:00
xcomputerman 04ddf4dcf9 Test ... add TODO comment
SVN revision: 8646
2004-01-25 03:17:09 +00:00
xcomputerman 97b96943d9 Support for standard X cursor fonts
SVN revision: 8619
2004-01-22 23:14:06 +00:00
xcomputerman a0e886c297 Support for UTF8 conversions
SVN revision: 8610
2004-01-22 05:56:14 +00:00
xcomputerman c132e33f2d Select event input mask
SVN revision: 8609
2004-01-22 05:23:33 +00:00
Carsten Haitzler b8d3b7762c and move the window too for completeness
SVN revision: 8573
2004-01-20 01:03:15 +00:00
xcomputerman dadd638530 Some documentation
SVN revision: 8511
2004-01-17 00:52:22 +00:00
xcomputerman 5273a7fb41 Refuse selection request if conversion to target failed or a converter
is not available


SVN revision: 8510
2004-01-17 00:22:32 +00:00
xcomputerman 1c38ca23ec Update request API to use strings for target types instead of enums
SVN revision: 8509
2004-01-17 00:14:37 +00:00
xcomputerman b26938f6c3 Selections:
- Framework for conversion functions complete
- Added default function for TEXT, COMPOUND_TEXT and STRING


SVN revision: 8508
2004-01-16 22:34:02 +00:00
xcomputerman 31d579cb9b More work on selections:
- implement functions to add, delete and run conversion callbacks
  (not usable yet)


SVN revision: 8506
2004-01-16 20:41:45 +00:00
Kim Woelders 523228ca6c Sshhhhh
SVN revision: 8495
2004-01-16 16:59:07 +00:00
rbdpngn c53a08409a The start of desktop change notification, added the ability to set the command
used to launch a window (set in the defaults).


SVN revision: 8429
2004-01-14 23:08:58 +00:00
xcomputerman 84a6083d5d Boom, Copy & Paste all works now
SVN revision: 8398
2004-01-14 05:18:43 +00:00
xcomputerman 6f41c8705e Generate Ecore event for selection clear
SVN revision: 8397
2004-01-14 04:43:51 +00:00
tsauerbeck 435d6499ac plugged a memleak
SVN revision: 8335
2004-01-11 00:51:15 +00:00
xcomputerman 8fcfc53754 Lots of overdue selections code.
- Pasting works, but has a little data size-related bug that will be
  fixed soon. A work around would be to use the returned size (len) to
  determine the correct data length but this should be done within
  ecore itself.
- Copy code isn't working yet


SVN revision: 8332
2004-01-10 21:01:18 +00:00
xcomputerman 814b888746 ecore_x_window_prop.c:
- Bad pointer dereferencing fixed. Surprised this wasn't caught earlier


SVN revision: 8331
2004-01-10 19:56:44 +00:00
xcomputerman f8823f65d3 Slight change to opacity API:
- Use a 0 - 255 range instead, keeping consistent with 8-bit RGBA
  conventions
- Clip supplied value if not in bounds


SVN revision: 8318
2004-01-09 08:38:39 +00:00
xcomputerman eacc3bcc49 Thanks to Brett Nash for pointing out that this integer division will
not work.


SVN revision: 8282
2004-01-06 16:45:31 +00:00
xcomputerman e348e59778 Add support for the proposed _NET_WM_WINDOW_OPACITY window manager hint.
At the moment does nothing useful unless you're running kdrive with a
specially patched version of Metacity ... but I just felt like putting it
in there anyways for later.

A little bit of the upcoming selections code leaked in with one of the
files in this commit.


SVN revision: 8280
2004-01-06 03:42:05 +00:00
Carsten Haitzler f94ea32351 1. fix focus loss after fullscreening
2. add call to get x fd


SVN revision: 8257
2004-01-03 03:24:37 +00:00
xcomputerman 2bd12227d7 We need properties, daddy. We need 'em!
SVN revision: 8055
2003-12-09 05:12:11 +00:00
Carsten Haitzler 0e29b41e6e now it builds! cleanly too
SVN revision: 7990
2003-12-03 07:23:08 +00:00
Carsten Haitzler cbb581dda0 copy & paste oopsies
SVN revision: 7988
2003-12-03 07:08:51 +00:00
Carsten Haitzler 90e6b12ca7 and... a backslash
SVN revision: 7987
2003-12-03 07:07:09 +00:00
Carsten Haitzler bafe84e57a use utf8 for compose string
SVN revision: 7986
2003-12-03 07:03:46 +00:00
xcomputerman 6dd589c4c4 Add code to request selections
SVN revision: 7941
2003-11-25 06:10:18 +00:00
xcomputerman 0b893f7b7c Beginnings of support for X selections. Does nothing right now expect set
and clear selections (no actual events handled yet).


SVN revision: 7935
2003-11-24 06:41:43 +00:00
xcomputerman 89060aec27 Add timestamps to ALL events
SVN revision: 7934
2003-11-24 06:19:56 +00:00
swielinga 0c0ef02fb4 Fixed a couple of debs in e17/libs, added and updated a couple of .cvsignores.
SVN revision: 7872
2003-11-13 12:30:50 +00:00
xcomputerman 87cb6e0e4f Variable names for the property_set/property_get functions changed to be
more consistent with Xlib - eliminate confusion :)


SVN revision: 7785
2003-11-03 01:19:48 +00:00
xcomputerman 7513bf76fd Added support for NetWM window state hints.
All were successfully tested except the fullscreen state (is this
supported in E16.6?)


SVN revision: 7783
2003-11-03 00:27:15 +00:00
xcomputerman d5e8e2d154 Apparent typo for fullscreen state atom.
SVN revision: 7781
2003-11-01 22:28:50 +00:00
rbdpngn 92b06a84d2 Support for setting the basic window types. Default to normal type on toplevel
windows.


SVN revision: 7598
2003-10-14 21:42:28 +00:00
rbdpngn f2130a93f5 Added setup for more netwm atoms, also API for working with the current desktop.
SVN revision: 7597
2003-10-14 19:11:35 +00:00
rbdpngn 911e66a03c Missed assigning an event for client machine change. Also added support for
_NET_WM_PID.


SVN revision: 7564
2003-10-13 17:36:09 +00:00
rbdpngn 1926a20d84 Rmoeved API for changing the WM_CLIENT_MACHINE as this shouldn't change after
window creation (afaik), easy enough to re-add it if a need is found.


SVN revision: 7563
2003-10-13 16:28:30 +00:00
rbdpngn 930c2c7fbc Should probably only set the WM_CLIENT_MACHINE automatically for top-level
windows.


SVN revision: 7562
2003-10-13 16:02:41 +00:00
jeoparde d2064a9299 Whoopsie, my mistake earlier ... was too eager to get to bed :)
No, we won't just kill all clients, we'll kill all clients under the
specified root window.


SVN revision: 7558
2003-10-12 22:39:12 +00:00
rbdpngn cb12afcfee Set the default WM_CLIENT_MACHINE based on the results from gethostname, this
is the "right way" to determine it according to NetWM's example.


SVN revision: 7557
2003-10-12 17:55:28 +00:00
rbdpngn 24d7903e31 API for manipulating the WM_CLIENT_MACHINE string.
SVN revision: 7556
2003-10-12 17:35:35 +00:00
jeoparde 7d371a9fb3 And doc.
SVN revision: 7553
2003-10-12 07:15:26 +00:00