Commit Graph

105 Commits

Author SHA1 Message Date
Sebastian Dransfeld b7f399d159 make clang happy
SVN revision: 45153
2010-01-14 23:48:59 +00:00
Sebastian Dransfeld f62b54b960 Strip file:// from uri
SVN revision: 44991
2010-01-08 20:26:55 +00:00
Christopher Michael 068ac54414 Remove a printf.
SVN revision: 44503
2009-12-16 03:08:54 +00:00
Christopher Michael ea55ee51a0 No need to release grabinput twice. This was already done a few lines above.
SVN revision: 44479
2009-12-16 00:43:29 +00:00
Sebastian Dransfeld bda24a1f0d Make clang happy
SVN revision: 44230
2009-12-06 19:42:41 +00:00
Sebastian Dransfeld 8a2f2981ed Fix Ticket #306
After we send the drop to the target it can take a while before it is
acknowledged. So release grab and hide input window so we can continue
working.

SVN revision: 44223
2009-12-06 18:03:35 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Christopher Michael 15bfce009e Use E_FREE for _xdnd, created with E_NEW.
SVN revision: 40836
2009-05-26 16:02:49 +00:00
Christopher Michael 7c78ec900e Formatting. Add missing void in function declaration.
SVN revision: 40835
2009-05-26 14:44:19 +00:00
Vincent Torri 0e6ad24c60 remove useless subwindow code
SVN revision: 39975
2009-04-11 08:33:44 +00:00
Vincent Torri 7506655ca9 ecore_x_window_del -> ecore_x_window_free
SVN revision: 39924
2009-04-10 09:57:57 +00:00
Gustavo Sverzut Barbieri b34c8995b9 proper cleanup of drop_handlers.
SVN revision: 39565
2009-03-19 00:19:12 +00:00
Gustavo Sverzut Barbieri 00e98a4851 cleanup memory usage, add stringshare, fix bug.
* h->active_type was referring to xdnd->type, that could be freed
   already. Now it's a reference to that string.

 * strcmp() are now direct pointer comparison since strings are shared.

 * no more extra "types" allocated member, make it a variable array at
   the end of the structure.



SVN revision: 39564
2009-03-19 00:14:57 +00:00
Gustavo Sverzut Barbieri 375f695e8f constness
SVN revision: 39562
2009-03-18 23:39:03 +00:00
Gustavo Sverzut Barbieri 9429c53cf1 move loops to eina macros.
SVN revision: 39561
2009-03-18 23:34:29 +00:00
Cedric BAIL 46e8efcd8c Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Hannes Janetzek 1f986f4b28 use argb window for drag object when composite is enabled
SVN revision: 39365
2009-03-04 13:04:35 +00:00
Cedric BAIL 773d102291 This commit is huge. I did test it a lot on my computer, and it run fine here.
But is so big i fear i could have broken some piece of code. So report any wrong
behaviour to me (cedric on #edevelop).

So moving e17 and efreet to eina_hash. With a little efreet API break so they
must come together.


SVN revision: 38185
2008-12-17 15:33:43 +00:00
Sebastian Dransfeld 98d487c8df Clean up drag on border del.
SVN revision: 37245
2008-10-27 14:14:42 +00:00
Sebastian Dransfeld ab62c5ccf1 Fix if formatting.
SVN revision: 37207
2008-10-27 07:34:22 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Carsten Haitzler fbd7fa6a17 remove debugging i added to fix dnd.
SVN revision: 36104
2008-09-19 23:59:29 +00:00
Carsten Haitzler 2d9dd3ea37 fix dnd for desktop - if you have multiple zones! remove printf's too. lots
of noisiness in e.



SVN revision: 36103
2008-09-19 23:58:07 +00:00
ptomaine 3ed5aa5e05 Fix drag'n'drop on desktop.
SVN revision: 36043
2008-09-17 11:16:01 +00:00
ptomaine 2c4fae916f * Default theme: fix preview when dragging from list view.
* Add DND modifiers: Control for copy, Shift for move, Alt for ask. Default action is move. Config for these comes later.
* Add EDJE signals for theme to act on DND action change.
* Default theme: Show current DND action using overlay icons. Icons done by Tom 'Toma-' Haste, thank you very much.


SVN revision: 35772
2008-09-01 09:51:30 +00:00
Sebastian Dransfeld 03fecbfe7a remove unused variables
SVN revision: 35479
2008-08-14 06:15:35 +00:00
Nicholas Hughart e177bb663f Patches from ptomaine.
* Fix for URI escpaing.
 * Add the ability for EFM to recognize different drop actions from other FMs.  The reverse soon to come :)
 * Add option to disable HAL device icons on the desktop.
 * Performing an operation on multiple files will now be done in a single slave process instead of many.

 More to come before and after GSOC :)  If you see him in the channel, give him a high five because he's finally helped pull EFM out of the crapper :P


SVN revision: 35432
2008-08-11 02:13:22 +00:00
Sebastian Dransfeld ae855ee47e Fix dnd. Hopefully works in all situations now. Seems like we should
consider separating internal and external dnd code.


SVN revision: 34901
2008-06-24 20:13:35 +00:00
Sebastian Dransfeld c40f8dd6e5 formatting
SVN revision: 34831
2008-06-15 12:30:26 +00:00
Sebastian Dransfeld f0f65afaeb We don't need to search for window at pointer with xdnd, xdnd handles this
already.


SVN revision: 34830
2008-06-15 12:28:16 +00:00
Sebastian Dransfeld fcbcbfcc50 Fix typo.
SVN revision: 34829
2008-06-15 12:19:40 +00:00
Sebastian Dransfeld 65fe9d6616 Remove printf
SVN revision: 34828
2008-06-15 08:44:32 +00:00
Sebastian Dransfeld 8ad0f691b7 Use right base window for drop.
SVN revision: 34827
2008-06-15 08:41:41 +00:00
Sebastian Dransfeld 98299b971b On drop from external program, use the event window to find the drop target.
SVN revision: 34817
2008-06-13 21:35:39 +00:00
Sebastian Dransfeld ff992cfb50 No need to continue looping after finding active.
SVN revision: 34814
2008-06-13 10:57:06 +00:00
Sebastian Dransfeld ed204e3f4e No need to alloc
SVN revision: 34811
2008-06-13 10:21:43 +00:00
Sebastian Dransfeld 705f459e8c Check whether the gadcon is on a shelf before doing shelf operation.
(Thanks to Dave Andreoli).


SVN revision: 34810
2008-06-13 09:14:20 +00:00
Sebastian Dransfeld f308caea74 Check if the gadcon has a shelf set.
SVN revision: 34107
2008-03-24 12:48:33 +00:00
Carsten Haitzler 497281afaa fix sys battery reader to support lowercase bats too...
some other bugs and fixes


SVN revision: 33849
2008-02-26 09:47:51 +00:00
Carsten Haitzler f8fa4e0156 fix xdnd again.
SVN revision: 32774
2007-11-19 11:38:43 +00:00
Carsten Haitzler 046f1b7628 prtintfs disabled in dnd - was hunting the dnd performance bug. fixed.
SVN revision: 32695
2007-11-15 04:48:53 +00:00
Carsten Haitzler d9c1da31df check window as well during drag upates.
nb - xdnd in e is hell slow! :(


SVN revision: 32671
2007-11-13 23:30:07 +00:00
Carsten Haitzler ec84855e6a use the shadowed window tree from ecore
SVN revision: 31977
2007-10-05 12:11:55 +00:00
Carsten Haitzler 8128302bd5 lok's xdnd work
SVN revision: 31378
2007-08-18 10:37:16 +00:00
Carsten Haitzler 935bed067e icons on the desktop... a work in progress. you will need ~/Desktop to exist
with stuff in it. i suggest copying some of the favorites files over
(home.desktop etc.)


SVN revision: 29975
2007-05-13 09:12:30 +00:00
Sebastian Dransfeld 80b32e7c7b Show shelves on dnd enter.
SVN revision: 29915
2007-05-07 19:54:12 +00:00
Sebastian Dransfeld dca84398d8 No need to duplicate this function.
SVN revision: 29907
2007-05-07 18:01:43 +00:00
Sebastian Dransfeld e8590e0357 - Add flag to indicate when main loop has ended.
- Don't allow (some) events during shutdown, as events wont be processed.
- Don't remove drop handlers on dnd shutdown, they should be removed by
  their creators.
- init/shutdown fwin
- Delete fwins on shutdown.
- Remove weird ipc wrapper function.
- Don't do additional shutdown functions on restart.


SVN revision: 29366
2007-04-05 06:59:02 +00:00
Sebastian Dransfeld 322d9adcf3 DND for gadcon clients.
SVN revision: 27847
2007-01-07 16:32:57 +00:00
Sebastian Dransfeld aa3d55f744 Rename struct member.
SVN revision: 27752
2007-01-03 06:17:45 +00:00