From 212582f69dea4c99c292081b15ea526014b9ad44 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 14 Apr 2021 13:39:42 +0200 Subject: Even more I/O - started new PS/2 driver --- apps/wm/wm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/wm/wm.c b/apps/wm/wm.c index 7ed67af..9af1ede 100644 --- a/apps/wm/wm.c +++ b/apps/wm/wm.c @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include @@ -495,7 +494,7 @@ int main(int argc, char **argv) atexit(handle_exit); - assert(ioctl("/dev/fb", IO_FB_GET, &screen) == 0); + assert(ioctl("/dev/fb", 0, &screen) == 0); log("WM loaded: %dx%d\n", screen.width, screen.height); wm_client = (struct client){ .pid = getpid() }; bypp = (screen.bpp >> 3); -- cgit v1.2.3