diff options
Diffstat (limited to 'src/haiku_support.cc')
| -rw-r--r-- | src/haiku_support.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/haiku_support.cc b/src/haiku_support.cc index 7819cef5683..9e38d9556fb 100644 --- a/src/haiku_support.cc +++ b/src/haiku_support.cc | |||
| @@ -21,6 +21,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 21 | 21 | ||
| 22 | #include <app/Application.h> | 22 | #include <app/Application.h> |
| 23 | #include <app/Cursor.h> | 23 | #include <app/Cursor.h> |
| 24 | #include <app/Clipboard.h> | ||
| 24 | #include <app/Messenger.h> | 25 | #include <app/Messenger.h> |
| 25 | #include <app/Roster.h> | 26 | #include <app/Roster.h> |
| 26 | 27 | ||
| @@ -648,8 +649,12 @@ public: | |||
| 648 | void | 649 | void |
| 649 | MessageReceived (BMessage *msg) | 650 | MessageReceived (BMessage *msg) |
| 650 | { | 651 | { |
| 652 | struct haiku_clipboard_changed_event rq; | ||
| 653 | |||
| 651 | if (msg->what == QUIT_APPLICATION) | 654 | if (msg->what == QUIT_APPLICATION) |
| 652 | Quit (); | 655 | Quit (); |
| 656 | else if (msg->what == B_CLIPBOARD_CHANGED) | ||
| 657 | haiku_write (CLIPBOARD_CHANGED_EVENT, &rq); | ||
| 653 | else | 658 | else |
| 654 | BApplication::MessageReceived (msg); | 659 | BApplication::MessageReceived (msg); |
| 655 | } | 660 | } |