Commit b5c43a88b455864ff5c16492ad0a3002965a45e1

Sam Lantinga 2015-07-03T09:18:14

Fixed style

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/x11/SDL_x11window.c b/src/video/x11/SDL_x11window.c
index 5d19045..6db968a 100644
--- a/src/video/x11/SDL_x11window.c
+++ b/src/video/x11/SDL_x11window.c
@@ -900,7 +900,7 @@ X11_ShowWindow(_THIS, SDL_Window * window)
         X11_XFlush(display);
     }
 
-    if (SDL_TRUE != data->videodata->net_wm) {
+    if (!data->videodata->net_wm) {
         /* no WM means no FocusIn event, which confuses us. Force it. */
         X11_XSetInputFocus(display, data->xwindow, RevertToNone, CurrentTime);
         X11_XFlush(display);