From c9c26727a11c37f61bc51662c3ca498737ce523f Mon Sep 17 00:00:00 2001 From: Miguel Date: Fri, 19 Oct 2018 13:30:01 +0200 Subject: compositor stuff --- userspace/xterm/rect.c | 2 +- userspace/xterm/xterm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'userspace') diff --git a/userspace/xterm/rect.c b/userspace/xterm/rect.c index 57cea62..88638cd 100644 --- a/userspace/xterm/rect.c +++ b/userspace/xterm/rect.c @@ -7,7 +7,7 @@ extern char**environ; int main(int argc, char **argv) { // we need a window - _gui_win(0|0,300<<16|300,0); + _gui_win(0xffffffff,300<<16|300,0); uint8_t *fb=malloc(4*300*300); // basically loads font and sets a few constants diff --git a/userspace/xterm/xterm.c b/userspace/xterm/xterm.c index 8d3ea97..af5ae57 100644 --- a/userspace/xterm/xterm.c +++ b/userspace/xterm/xterm.c @@ -15,7 +15,7 @@ int main(int argc, char **argv) // default 7x13 pixel font +1 pixel margin so it is 8x14 int w=640; int h=336; - _gui_win(0<<16|0,w<<16|h,0); + _gui_win(0xffffffff,w<<16|h,0); // basically loads font and sets a few constants void *fb=malloc(w*h*4); -- cgit v1.2.3