diff options
author | Marvin Borner | 2020-08-25 21:14:47 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-25 21:14:47 +0200 |
commit | d2017fca3efefdb4d514f2b356855a0fda1fccfd (patch) | |
tree | ebfddbbb5c6c30ae309085a6d3457b9146cd8e6c /apps | |
parent | 0724b54018c379850e672ad6571e05b3f848150d (diff) |
Some optimizations or sth
Diffstat (limited to 'apps')
-rw-r--r-- | apps/wm.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -82,11 +82,12 @@ int main(int argc, char **argv) struct window *win = iterator->data; gui_win_on_win(exchange, win, win->x, win->y); } while ((iterator = iterator->next) != NULL); - gui_win_on_win(direct, exchange, 0, 0); + memcpy(direct->fb, exchange->fb, + exchange->pitch * exchange->height); } break; default: - printf("Unknown WM request %d from pid %d", msg->type, msg->src); + printf("Unknown WM request %d from pid %d\n", msg->type, msg->src); } }; |