Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions xcb/dxcbwmsupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,12 @@ void DXcbWMSupport::updateHasComposite()
xcb_connection_t *xcb_connection = DPlatformIntegration::xcbConnection()->xcb_connection();

auto atom = Utility::internAtom("_NET_KDE_COMPOSITE_TOGGLING");

if (atom == 0) {
qWarning() << "The value of atom:_NET_KDE_COMPOSITE_TOGGLING is 0 !";
return;
}

xcb_window_t root = DPlatformIntegration::xcbConnection()->primaryScreen()->root();

//stage1: check if _NET_KDE_COMPOSITE_TOGGLING is supported
Expand Down
Loading