Paste P612

Masterwork From Distant Lands
ActivePublic

Authored by davidedmundson on Jun 23 2020, 2:21 PM.
diff --git a/xwl/databridge.cpp b/xwl/databridge.cpp
index 69b6b46ee..4bb2797fd 100644
--- a/xwl/databridge.cpp
+++ b/xwl/databridge.cpp
@@ -79,7 +79,7 @@ DataBridge::DataBridge(QObject *parent)
}
);
- waylandServer()->internalClientConection()->flush();
+// waylandServer()->internalClientConection()->flush();
waylandServer()->dispatch();
}
@@ -97,10 +97,10 @@ void DataBridge::init()
bool DataBridge::filterEvent(xcb_generic_event_t *event)
{
- if (m_clipboard->filterEvent(event)) {
+ if (m_clipboard && m_clipboard->filterEvent(event)) {
return true;
}
- if (m_dnd->filterEvent(event)) {
+ if (m_dnd && m_dnd->filterEvent(event)) {
return true;
}
if (event->response_type - Xwayland::self()->xfixes()->first_event == XCB_XFIXES_SELECTION_NOTIFY) {
davidedmundson edited the content of this paste. (Show Details)Jun 23 2020, 2:21 PM
davidedmundson changed the title of this paste from untitled to Masterwork From Distant Lands.