aboutsummaryrefslogtreecommitdiffstats
path: root/drv_X11.c
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-01-16 05:25:12 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-01-16 05:25:12 +0000
commit6061fbaf0e2f0df545dd5dcbad4707483c178e45 (patch)
treec0d520da25d141069fac282e30d2c1012970151f /drv_X11.c
parent91d11df484b5aad195580d25e8050955334b365d (diff)
downloadlcd4linux-6061fbaf0e2f0df545dd5dcbad4707483c178e45.tar.gz
indentation
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@969 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_X11.c')
-rw-r--r--drv_X11.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/drv_X11.c b/drv_X11.c
index b9f3b37..eb79e93 100644
--- 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);