X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fmodal2.c;h=e7afb9b0800915cc7ab32d844d60689c3e049917;hb=2ea60e77c085a724b2ec28273e24e12ece0e84f3;hp=757e279e12028edab96fef6fcfd6741b267e7628;hpb=c4e4760c41f10aae6af19a4363cb247c71edee4b;p=chaz%2Fopenbox diff --git a/tests/modal2.c b/tests/modal2.c index 757e279e..e7afb9b0 100644 --- a/tests/modal2.c +++ b/tests/modal2.c @@ -1,7 +1,7 @@ -/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- +/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- modal2.c for the Openbox window manager - Copyright (c) 2003 Ben Jansens + Copyright (c) 2003-2007 Dana Jansens This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -46,11 +46,11 @@ int main () { x, y, w/2, h/2, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,parent,WhitePixel(display,0)); - XSetWindowBackground(display,child,BlackPixel(display,0)); + XSetWindowBackground(display,parent,WhitePixel(display,0)); + XSetWindowBackground(display,child,BlackPixel(display,0)); XSetTransientForHint(display, child, parent); - + XMapWindow(display, parent); XMapWindow(display, child); XFlush(display); @@ -65,7 +65,7 @@ int main () { ce.xclient.data.l[2] = 0; XSendEvent(display, RootWindow(display, DefaultScreen(display)), False, SubstructureNotifyMask | SubstructureRedirectMask, &ce); - + while (1) { XNextEvent(display, &report); }