aboutsummaryrefslogtreecommitdiff
path: root/src/libdraw/x11-wsys.c
blob: c996bd31afd225c5c11167bf90f3f96701955777 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <u.h>
#include "x11-inc.h"
#include <libc.h>
#include <draw.h>
#include <memdraw.h>
#include "x11-memdraw.h"

void
drawtopwindow(void)
{
	XMapRaised(_x.display, _x.drawable);
	XFlush(_x.display);
	XSetInputFocus(_x.display, _x.drawable, RevertToPointerRoot,
		CurrentTime);
	XFlush(_x.display);
}