1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-18 02:05:54 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
Werner Almesberger
0d2b024d9c eeshow/gui/ (aoi_click): also protect from access after free
Unlike aoi_hover, aoi_click was not observed to actually run into this
problem. But better safe than sorry.
2016-08-20 20:42:34 -03:00
Werner Almesberger
eeda1c1700 eeshow/gui/ (aoi_hover): could cause an access after free 2016-08-20 20:39:08 -03:00
Werner Almesberger
96fa1a2f62 eeshow/gui/aoi.c: make searches only consider AoIs supporting desired function 2016-08-19 05:35:37 -03:00
Werner Almesberger
10c1d0ede0 eeshow/gui/aoi.c (aoi_hover): use in_aoi instead of open-coding the comparison 2016-08-19 05:30:58 -03:00
Werner Almesberger
bd8f6ab353 eeshow/gui/aoi.c (need_devover): also check the loction of the related AoI 2016-08-19 03:42:01 -03:00
Werner Almesberger
49fe8518a5 eeshow/gui/aoi.c (aoi_set_related): AoIs can now share clicks
If A is related to B, then A can receive clicks while B is hovering,
without getting B de-hovered.

Note that in aoi_set_related(A, B), more than one A can share one B,
but an A can't have more than one B.
2016-08-19 03:25:56 -03:00
Werner Almesberger
6847165604 eeshow/aoi.c, aoi.h: remove dragging support (now in input.c)
The crazy detour through aoi.c and over.c is no longer needed.
2016-08-18 02:13:55 -03:00
Werner Almesberger
c4811c8dd6 eeshow/: util.h and diag.c go to misc/ 2016-08-17 21:37:15 -03:00
Werner Almesberger
4d40267974 eeshow/: move gui* into subdirectory gui/ 2016-08-17 20:54:25 -03:00