]> 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>
Sat, 1 Jun 2024 16:45:43 +0000 (18:45 +0200)
commit2699a58cd7c98e54cb5cfbaf3f6cdf2621651a64
treed8483c7020816577a11f712fc94358bd2cb5e304
parent76188dcdf11e06e8772e900de04ccbfb079bafac
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.

(cherry picked from commit ed2f3cb9cfa1e871d48a92d41791a77bd218ab67)
src/mathed/MathData.cpp
status.24x