diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/chat.cpp | 13 | ||||
-rw-r--r-- | src/actions/chat.h | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp index 9d9be4279..62213c5cc 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -604,4 +604,17 @@ impHandler(hat) return true; } +impHandler(chatClipboard) +{ + int x = 0; + int y = 0; + + if (chatWindow && parse2Int(event.args, x, y)) + { + chatWindow->copyToClipboard(x, y); + return true; + } + return false; +} + } // namespace Actions diff --git a/src/actions/chat.h b/src/actions/chat.h index 3a433e49a..158de5580 100644 --- a/src/actions/chat.h +++ b/src/actions/chat.h @@ -59,6 +59,7 @@ namespace Actions decHandler(chatPartyTab); decHandler(chatGuildTab); decHandler(hat); + decHandler(chatClipboard); } // namespace Actions #undef decHandler |