Commit Graph

90 Commits

Author SHA1 Message Date
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
Sebastian Dransfeld c299f6aa14 Add a convert callback so that a drag can have several types.
Make it possible to drag pager windows to the ibar.


SVN revision: 27751
2007-01-03 06:14:04 +00:00
Sebastian Dransfeld 79280bb9ec Function to move the drag before the drag begins.
SVN revision: 27644
2006-12-29 16:53:36 +00:00
metrics 09f79e7556 Fix drag and drop.
SVN revision: 27086
2006-11-13 13:07:49 +00:00
metrics 5cc25e147a Start of fix for drag and drop to autoscrolling ibar/ibox.
SVN revision: 27068
2006-11-12 11:32:44 +00:00
Carsten Haitzler 5409f4f0cd fix dnd for "below everything"
SVN revision: 26653
2006-10-16 10:40:10 +00:00
Carsten Haitzler a9757fa04b i'm cleaning up dnd. fixed leaks. made dnd more convenient - less work to do
(it returns x,y coords relative to the drop target geom, not the screen,
start putting in all the necessary stuff in fm2 - can dnd 2 file now (drop
has no effect though)...


SVN revision: 25950
2006-09-18 03:49:45 +00:00
Carsten Haitzler 8497432eca fix up dnd to handle stacked windows and move the burden of window offset
handling etc. to dnd not the objects that create dnd zones. they onyl need to
now worry about the dnd zone withint heir canvas/window/whatever


SVN revision: 25903
2006-09-17 06:12:48 +00:00
sebastid d53257dd3a Dnd window is very like a popup, maybe redo?
SVN revision: 24541
2006-08-10 18:02:33 +00:00
sebastid fe296600bb Xdnd files from fm to ibar works again.
SVN revision: 24540
2006-08-10 17:48:17 +00:00
sebastid d899722d58 Don't flip desks if the zone no longer is current.
SVN revision: 24533
2006-08-10 14:36:59 +00:00
sebastid 5dc2de04ea FIXME++
SVN revision: 24530
2006-08-10 11:10:11 +00:00
sebastid 8f7cd587fc Stop flip timer on drag end.
SVN revision: 24529
2006-08-10 11:04:13 +00:00
Stafford Mitchell Horne 45cce921c8 Added more advanced edge flipping configurations. This will reset the edge flip
configuration so some people may need to reconfigure it int Desktop Settings.


SVN revision: 24522
2006-08-10 05:01:07 +00:00
sebastid e2e2ee6630 Fix dnd shutdown.
SVN revision: 24514
2006-08-09 18:08:55 +00:00
sebastid 27e05aa5ad ecore_x_.*_ungrab -> e_grabinput_release
SVN revision: 24513
2006-08-09 17:45:43 +00:00