diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2019-09-27 16:56:38 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2019-10-01 16:50:23 +0200 |
commit | a332305ba78241a17424dad30b37b32cc60f307a (patch) | |
tree | f2c12f3bfa3f2e683ce19081502afc3726920ba2 /platform/x11 | |
parent | 2ad88b8cabdafd9438084d32c20c4728442d81da (diff) |
x11: Cast wrapped atom to Atom type.
Diffstat (limited to 'platform/x11')
-rw-r--r-- | platform/x11/x11_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/x11_main.c b/platform/x11/x11_main.c index bb76f29e6..6f251ba04 100644 --- a/platform/x11/x11_main.c +++ b/platform/x11/x11_main.c @@ -1042,7 +1042,7 @@ int main(int argc, char **argv) case ClientMessage: if (xevt.xclient.message_type == WM_RELOAD_PAGE) pdfapp_reloadpage(&gapp); - else if (xevt.xclient.format == 32 && xevt.xclient.data.l[0] == WM_DELETE_WINDOW) + else if (xevt.xclient.format == 32 && ((Atom) xevt.xclient.data.l[0]) == WM_DELETE_WINDOW) closing = 1; break; } |