]> git.lyx.org Git - lyx.git/commit
Set buffer when creating a MathData from parts of another one
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 25 Apr 2024 15:13:15 +0000 (17:13 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 25 Apr 2024 15:22:22 +0000 (17:22 +0200)
commited2f3cb9cfa1e871d48a92d41791a77bd218ab67
treec6dc9bce58a806fb0ba59de27de7c284b40dda6e
parentb45a957929a78cefc729a0fa984214eb83357d42
Set buffer when creating a MathData from parts of another one

This is triggered by selecting part of an equation under Xcb platform
(x11). Indeed, the current selection has to be sent to the X11 server
and BufferView::requestSelection() is called. Eventually
cap::grabSelection() is the function that creates this partial
MathData object.

Fixes ticket #12947.
src/mathed/MathData.cpp