Clicking on the inset results in dispatching action: 217 arg: '' x: 386 y: 407 to surrounding LyXText 0x85135cc BufferView::Pimpl::fitCursor. BufferView::Pimpl::fitCursor. Redraw screen checkInsetHit: x: 386 y: 407 No inset hit. no further inset hit theTempCursor:
Yet doing the same with the graphics inset gives: dispatching action: 217 arg: '' x: 378 y: 509 to surrounding LyXText 0x8688534 BufferView::Pimpl::fitCursor. BufferView::Pimpl::fitCursor. Redraw screen checkInsetHit: x: 378 y: 509 Hit inset: 0x86884d0 Hit inset: 0x86884d0 at x: 378 text: 0x8688534 y: 509 LCursor::push() inset: 0x86884d0 checkInsetHit: x: 378 y: 509 Hit inset: 0x868a940 not descendable theTempCursor: inset: 0x86884d0 text: 0x8688534 x: 30 y: 69 I can't see any differences in the respective priv_dispatch functions. Where is the code that ascertains that an inset has been hit? -- Angus