[Commits] SDL: Fixed style

libsdl.org revision control commits-owner at libsdl.org
Fri Jul 3 09:18:20 PDT 2015


details:   https://hg.libsdl.org/SDL/rev/5aa6018e18ed
changeset: 9794:5aa6018e18ed
user:      Sam Lantinga <slouken at libsdl.org>
date:      Fri Jul 03 09:18:14 2015 -0700
description:
Fixed style

diffstat:

 src/video/x11/SDL_x11window.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 025e28f516ce -r 5aa6018e18ed src/video/x11/SDL_x11window.c
--- a/src/video/x11/SDL_x11window.c	Fri Jul 03 09:17:24 2015 -0700
+++ b/src/video/x11/SDL_x11window.c	Fri Jul 03 09:18:14 2015 -0700
@@ -900,7 +900,7 @@
         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);


More information about the commits mailing list