summaryrefslogtreecommitdiff
path: root/zig-x11
diff options
context:
space:
mode:
Diffstat (limited to 'zig-x11')
-rw-r--r--zig-x11/main.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/zig-x11/main.zig b/zig-x11/main.zig
index daa4cd5..a67cc5d 100644
--- a/zig-x11/main.zig
+++ b/zig-x11/main.zig
@@ -9,11 +9,11 @@ pub fn main() !void {
return error.DisplayOpenFailed;
}
- const rootWindow = xlib.XDefaultRootWindow(display);
+ const root_window = xlib.XDefaultRootWindow(display);
- const mainWindow = xlib.XCreateSimpleWindow(
+ const main_window = xlib.XCreateSimpleWindow(
display,
- rootWindow,
+ root_window,
0,
0,
800,
@@ -23,7 +23,7 @@ pub fn main() !void {
0xFF0000,
);
- _ = xlib.XMapWindow(display, mainWindow);
+ _ = xlib.XMapWindow(display, main_window);
_ = xlib.XFlush(display);
while (true) {