From 3ad65451ff1326f2fc44057ffa76f44e01c7c6bb Mon Sep 17 00:00:00 2001 From: epoch Date: Thu, 2 Apr 2020 04:59:36 -0500 Subject: added a handler for graphics events and not only assuming we only need to redraw when there's an input event, so draw_screen() got moved and now redraw() will actually call it. --- src/graphics_x11.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/graphics_x11.h') diff --git a/src/graphics_x11.h b/src/graphics_x11.h index b5c3119..41c0bbe 100644 --- a/src/graphics_x11.h +++ b/src/graphics_x11.h @@ -3,7 +3,7 @@ #include -#define HV_GRAPHICS_X11_EVENT_MASK StructureNotifyMask|ExposureMask +#define HV_GRAPHICS_X11_EVENT_MASK StructureNotifyMask|ExposureMask|VisibilityChangeMask|FocusChangeMask struct x11_global {//stores global variables for the x11 *specific* shit. XColor colors[256]; -- cgit v1.2.3