X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FSelection.h;h=931cb4470efcb051949795a4f85cec0122e7e14f;hb=713264ae2b82f23e80ed6369b19ae6c9b030b6e4;hp=10d16988f8046ff74bb016c3084aa2c903fd9a93;hpb=8ceb4f6b58df059f4b6b95240369a840653842ea;p=lyx.git diff --git a/src/frontends/Selection.h b/src/frontends/Selection.h index 10d16988f8..931cb4470e 100644 --- a/src/frontends/Selection.h +++ b/src/frontends/Selection.h @@ -27,6 +27,11 @@ class Selection public: virtual ~Selection() {} + /** + * Returns true if the underlying system supports mouse selection + * (basically X11 and Wayland). + */ + virtual bool supported() const = 0; /** * Tell the window system whether we set or cleared our selection. * This is a noop on systems that don't have a selection.