]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Selection.h
Disable "search in selection only" with instant search
[lyx.git] / src / frontends / Selection.h
index 10d16988f8046ff74bb016c3084aa2c903fd9a93..931cb4470efcb051949795a4f85cec0122e7e14f 100644 (file)
@@ -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.