diff options
| author | Patrick <devnull@mailinator.com> | 2015-10-15 15:38:05 +0800 |
|---|---|---|
| committer | Patrick <devnull@mailinator.com> | 2015-10-15 15:38:05 +0800 |
| commit | 00195baff8d1c3bea711a37852d26fc04edf0b2d (patch) | |
| tree | b4428090feb5e90ed7bba233dcb90ef8ac6941c3 /x-undecorate.c | |
| parent | 72197fa6a8a48682d54bd81d41ab5a00d56fd167 (diff) | |
switch to defined style standard
Diffstat (limited to 'x-undecorate.c')
| -rw-r--r-- | x-undecorate.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/x-undecorate.c b/x-undecorate.c index 7c3d873..a008cfc 100644 --- a/x-undecorate.c +++ b/x-undecorate.c @@ -15,15 +15,14 @@ If not, see http://creativecommons.org/publicdomain/zero/1.0/ */ // mark a window as undecorated // i.e. remove the borders and titlebar -int main(int argc, char **argv) -{ - Display *dpy; - XSetWindowAttributes c_wa; +int main(int argc, char **argv) { + Display *dpy; + XSetWindowAttributes c_wa; - if ( ! (dpy = XOpenDisplay(0x0) )) - return -1; + if ( ! (dpy = XOpenDisplay(0x0) )) + return -1; - XChangeWindowAttributes(dpy, atoi(argv[1]), CWOverrideRedirect, &c_wa); - return 0; + XChangeWindowAttributes(dpy, atoi(argv[1]), CWOverrideRedirect, &c_wa); + return 0; } |
