Changeset 98534 in vbox for trunk/src/VBox/Additions/x11/VBoxClient
- Timestamp:
- Feb 10, 2023 5:12:41 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155811
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/seamless-x11.cpp
r98103 r98534 552 552 bool SeamlessX11::interruptEventWait(void) 553 553 { 554 bool rc = false; 554 LogRelFlowFuncEnter(); 555 555 556 Display *pDisplay = XOpenDisplay(NULL); 556 557 LogRelFlowFuncEnter();558 557 if (pDisplay == NULL) 559 558 { … … 564 563 /* Message contents set to zero. */ 565 564 XClientMessageEvent clientMessage = 566 { ClientMessage, 0, 0, 0, 0, XInternAtom(pDisplay, "VBOX_CLIENT_SEAMLESS_HEARTBEAT", false), 8 }; 567 565 { 566 /* .type = */ ClientMessage, 567 /* .serial = */ 0, 568 /* .send_event = */ 0, 569 /* .display = */ 0, 570 /* .window = */ 0, 571 /* .message_type = */ XInternAtom(pDisplay, "VBOX_CLIENT_SEAMLESS_HEARTBEAT", false), 572 /* .format = */ 8, 573 /* .data ... */ 574 }; 575 576 bool rc = false; 568 577 if (XSendEvent(pDisplay, DefaultRootWindow(mDisplay), false, 569 578 PropertyChangeMask, (XEvent *)&clientMessage)) 570 579 rc = true; 580 571 581 XCloseDisplay(pDisplay); 572 582 LogRelFlowFunc(("returning %RTbool\n", rc));
Note:
See TracChangeset
for help on using the changeset viewer.