]> git.webhop.me Git - lcd4linux.git/commitdiff
indentation
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Fri, 16 Jan 2009 05:25:12 +0000 (05:25 +0000)
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Fri, 16 Jan 2009 05:25:12 +0000 (05:25 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@969 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_X11.c

index b9f3b371acaff7944b26d80a5c29fcad012b5a67..eb79e9388330649556cf7b6d542331e7d090b037 100644 (file)
--- a/drv_X11.c
+++ b/drv_X11.c
@@ -370,13 +370,13 @@ static void drv_X11_timer( __attribute__ ((unused))
        break;
 
     case ClientMessage:
-        if ((Atom)(ev.xclient.data.l[0]) == wmDeleteMessage) {
-            info("%s: Window closed by WindowManager, quit.", Name);
-            exit(0);
-        } else {
-            debug("%s: Got client message 0x%lx %lx %lx %lx %lx", Name, ev.xclient.data.l[0],
-                  ev.xclient.data.l[1], ev.xclient.data.l[2], ev.xclient.data.l[3], ev.xclient.data.l[4]);
-        }
+       if ((Atom) (ev.xclient.data.l[0]) == wmDeleteMessage) {
+           info("%s: Window closed by WindowManager, quit.", Name);
+           exit(0);
+       } else {
+           debug("%s: Got client message 0x%lx %lx %lx %lx %lx", Name, ev.xclient.data.l[0],
+                 ev.xclient.data.l[1], ev.xclient.data.l[2], ev.xclient.data.l[3], ev.xclient.data.l[4]);
+       }
 
     default:
        debug("%s: unknown XEvent %d", Name, ev.type);
@@ -490,12 +490,12 @@ static int drv_X11_start(const char *section)
     sh.flags = PPosition | PSize | PMinSize | PMaxSize;
 
     if (sh.min_width > DisplayWidth(dp, sc) || sh.min_height > DisplayHeight(dp, sc)) {
-        error("%s: Warning: X11-Window with dimensions (%d,%d) is greater than display (%d,%d)!",
-              Name, sh.min_width, sh.min_height, DisplayWidth(dp, sc), DisplayHeight(dp, sc));
-        if (sh.min_width > 32767 || sh.min_height > 32676) {
-            /* XProtocol data size exceeded */
-            exit(1);
-        }
+       error("%s: Warning: X11-Window with dimensions (%d,%d) is greater than display (%d,%d)!",
+             Name, sh.min_width, sh.min_height, DisplayWidth(dp, sc), DisplayHeight(dp, sc));
+       if (sh.min_width > 32767 || sh.min_height > 32676) {
+           /* XProtocol data size exceeded */
+           exit(1);
+       }
     }
     w = XCreateWindow(dp, rw, 0, 0, sh.min_width, sh.min_height, 0, 0, InputOutput, vi, CWEventMask, &wa);