mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-01 15:50:27 +02:00
Fix X11 selections (#55)
This fixes all the issues with the X11 selection in addition to switching the clipboard to always be UTF-8.
This commit is contained in:
@ -27,10 +27,11 @@ public:
|
||||
virtual const core::stringc& getOperatingSystemVersion() const _IRR_OVERRIDE_;
|
||||
|
||||
//! copies text to the clipboard
|
||||
virtual void copyToClipboard(const c8* text) const _IRR_OVERRIDE_;
|
||||
//! \param text: text in utf-8
|
||||
virtual void copyToClipboard(const c8 *text) const _IRR_OVERRIDE_;
|
||||
|
||||
//! gets text from the clipboard
|
||||
//! \return Returns 0 if no string is in there.
|
||||
//! \return Returns 0 if no string is in there, otherwise an utf-8 string.
|
||||
virtual const c8* getTextFromClipboard() const _IRR_OVERRIDE_;
|
||||
|
||||
//! gets the total and available system RAM in kB
|
||||
|
Reference in New Issue
Block a user