X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fmodal2.c;fp=tests%2Fmodal2.c;h=e7afb9b0800915cc7ab32d844d60689c3e049917;hb=77baf26a7f2f64ddf1274035fd4991ab17345904;hp=ff8316f78df12d544737e297ff41d58a0a935b7f;hpb=e5a797f10d61e33f5d02c2d276f615ea3a00793f;p=chaz%2Fopenbox diff --git a/tests/modal2.c b/tests/modal2.c index ff8316f7..e7afb9b0 100644 --- a/tests/modal2.c +++ b/tests/modal2.c @@ -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); }