mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Restrict relative mouse mode to Wayland users (#15697)
This commit is contained in:
parent
282c81fe3a
commit
45c5ef8798
4 changed files with 25 additions and 2 deletions
|
@ -198,6 +198,9 @@ public:
|
|||
or similar. */
|
||||
virtual bool supportsTouchEvents() const { return false; }
|
||||
|
||||
//! Checks whether windowing uses the Wayland protocol.
|
||||
virtual bool isUsingWayland() const { return false; }
|
||||
|
||||
//! Get the current color format of the window
|
||||
/** \return Color format of the window. */
|
||||
virtual video::ECOLOR_FORMAT getColorFormat() const = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue