Browse Source

Fix a compiler warning

tags/v2.1-alpha1-winvst
falkTX 6 years ago
parent
commit
a27656ae0c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/interposer/interposer-jack-x11.cpp

+ 1
- 1
source/interposer/interposer-jack-x11.cpp View File

@@ -312,7 +312,7 @@ int XNextEvent(Display* display, XEvent* event)


if (std::strcmp(type, "WM_PROTOCOLS") != 0) if (std::strcmp(type, "WM_PROTOCOLS") != 0)
return ret; return ret;
if (event->xclient.data.l[0] != XInternAtom(display, "WM_DELETE_WINDOW", False))
if ((Atom)event->xclient.data.l[0] != XInternAtom(display, "WM_DELETE_WINDOW", False))
return ret; return ret;


gCurrentWindowVisible = false; gCurrentWindowVisible = false;


Loading…
Cancel
Save