Commit Graph

78 Commits

Author SHA1 Message Date
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
sebastid aa958ec9e7 Use e_grabinput_get
SVN revision: 24512
2006-08-09 17:42:31 +00:00
sebastid a915d00dc8 Use e_grabinput_get()
SVN revision: 24511
2006-08-09 17:40:41 +00:00
Carsten Haitzler fbd972cdb9 e packages build again - also not much point having an enlightenment-data as
it's built as an arch specific package and it is intrinsically required by e
and cannot work without it nor is the data shared betwene e and other apps
unless e itself is installed too


SVN revision: 22260
2006-04-20 11:30:25 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Carsten Haitzler 27d0ae8db3 dnd safety
SVN revision: 18746
2005-12-01 06:15:24 +00:00
sebastid c08bdf97c6 Working on xdnd from E.
SVN revision: 17319
2005-10-08 13:10:20 +00:00
sebastid e85dd8ade4 Possible with more types for a drag. Doesn't make sense for internal dnd,
since we don't have a conversion function. Prepare for xdnd.
Declare variables.


SVN revision: 17276
2005-10-07 18:36:54 +00:00
tsauerbeck 45d1bd7b69 initialized variables are good
SVN revision: 17242
2005-10-06 18:36:53 +00:00
sebastid 93a3c07ea8 It's possible to add several types for one drop handler.
SVN revision: 17204
2005-10-05 17:56:35 +00:00
Carsten Haitzler 9f9468645d 1. centralise canvas creation.
2. allow xrender to be (*hard-coded) chosen.


SVN revision: 17126
2005-10-03 07:36:23 +00:00
sebastid 880a2f20e8 IF_FREE -> E_FREE
SVN revision: 16573
2005-09-05 15:24:07 +00:00
Carsten Haitzler 29ebbfd6d5 icons are now part of the theme and themable from the theme (always
falls back to default of course if theme doesnt provide them) and this
works for EAP icons too - if you give your EAP icons an icon class
like "web_browser" and if the theme provides a theme override for icons of
class "web_browser" then the theme icon is used instead of the .eap internal
image. not surethis is perfect as u want more "specific" and "more general"
levels - maybe i should make the eapp icon class a list of classes the icon
is part of...


SVN revision: 15951
2005-07-30 07:46:05 +00:00