Skip to content

Commit

Permalink
Fixed crash on wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri0n committed Mar 24, 2024
1 parent 79d9fc7 commit 8b8aaed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/x11windowsystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ bool X11WindowSystem::currentDesktop(long *desktop)

X11WindowSystem::X11WindowSystem()
{
if (!isPlatformX11()) {
return;
}

const int atomsCount = 10;
const char *names[atomsCount] = { "_NET_CLIENT_LIST_STACKING",
"_NET_FRAME_EXTENTS",
Expand Down

0 comments on commit 8b8aaed

Please sign in to comment.