forked from e16/e16
1
0
Fork 0

eesh: Simplify comms window creation

This commit is contained in:
Kim Woelders 2023-12-12 05:24:43 +01:00
parent c74af1d726
commit 90c4959f7e
2 changed files with 2 additions and 7 deletions

View File

@ -38,12 +38,8 @@ CommsInit(void)
Window
CommsSetup(Window win __UNUSED__)
{
XSetWindowAttributes attr;
attr.override_redirect = False;
my_win = XCreateWindow(disp, root_win, -100, -100, 5, 5, 0, 0, InputOnly,
DefaultVisual(disp, DefaultScreen(disp)),
CWOverrideRedirect, &attr);
my_win = XCreateWindow(disp, root_win, -10, -10, 1, 1, 0, 0,
InputOnly, CopyFromParent, 0, NULL);
return my_win;
}

View File

@ -24,7 +24,6 @@
#include <sys/select.h>
#include "E.h"
/* Global vars */
Display *disp;
static char buf[10240];