mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-19 03:05:29 +02:00
GUIChatConsole: Use primary selection
This commit is contained in:
@@ -84,8 +84,12 @@ private:
|
||||
void drawText();
|
||||
void drawPrompt();
|
||||
|
||||
// If clicked fragment has a web url, send it to the system default web browser
|
||||
void middleClick(s32 col, s32 row);
|
||||
// If clicked fragment has a web url, send it to the system default web browser.
|
||||
// Returns true if, and only if a web url was pressed.
|
||||
bool weblinkClick(s32 col, s32 row);
|
||||
|
||||
// If the selected text changed, we need to update the (X11) primary selection.
|
||||
void updatePrimarySelection();
|
||||
|
||||
private:
|
||||
ChatBackend* m_chat_backend;
|
||||
|
Reference in New Issue
Block a user