浏览代码

Fixed style

Sam Lantinga 10 年之前
父节点
当前提交
b5c43a88b4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/video/x11/SDL_x11window.c

+ 1 - 1
src/video/x11/SDL_x11window.c

@@ -900,7 +900,7 @@ X11_ShowWindow(_THIS, SDL_Window * window)
         X11_XFlush(display);
         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. */
         /* no WM means no FocusIn event, which confuses us. Force it. */
         X11_XSetInputFocus(display, data->xwindow, RevertToNone, CurrentTime);
         X11_XSetInputFocus(display, data->xwindow, RevertToNone, CurrentTime);
         X11_XFlush(display);
         X11_XFlush(display);