diff options
author | Marvin Borner | 2020-08-27 22:31:44 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-27 22:31:44 +0200 |
commit | 834ab9e2771b631c46d34fa906b4e2448f9192ca (patch) | |
tree | 828d7aed8a6a885f8100bc61b9453f003f45cb04 /apps | |
parent | 5565c4f1d12d9bdbabcc878541d3b81be45d4cf3 (diff) |
Kinda fixed wallpapers
Diffstat (limited to 'apps')
-rw-r--r-- | apps/wm.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -66,8 +66,7 @@ int main(int argc, char **argv) gui_fill(root, BG_COLOR); gui_border(root, FG_COLOR, 2); gui_load_image(cursor, "/res/cursor.bmp", 0, 0); - // TODO: Fix wallpaper - /* gui_load_wallpaper(root, "/wall.bmp"); */ + gui_load_wallpaper(root, "/res/wall.bmp"); redraw_all(); event_register(EVENT_KEYBOARD); @@ -84,7 +83,7 @@ int main(int argc, char **argv) case MSG_NEW_WINDOW: printf("New window for pid %d\n", msg->src); struct window *win = - new_window(vbe->width / 2 - 100, vbe->height / 2 - 100, 500, 300); + new_window(vbe->width / 2 - 250, vbe->height / 2 - 150, 500, 300); msg_send(msg->src, MSG_NEW_WINDOW, win); list_add(windows, win); focused = win; |