ref: be7ddb52e46325dfc96864d41467e4b7184da895
parent: 27c3b46f4002d9d4f806252a44fd6b04495eacb8
author: halfwit <michaelmisch1985@gmail.com>
date: Sat Oct 10 03:29:19 PDT 2020
Make sure we include the framebuffer code
--- a/draw.c
+++ b/draw.c
@@ -435,8 +435,6 @@
if (!fbSetVisualTypesAndMasks(x9di.depth, v, 8, r, g, b))
return FALSE;
- if (monitorResolution)
- x9di.dpi = monitorResolution;
if (!fbScreenInit(pScreen, x9di.fb, x9di.width, x9di.height,
x9di.dpi, x9di.dpi, x9di.width, x9di.depth))
return FALSE;
--- a/x9dev.h
+++ b/x9dev.h
@@ -33,7 +33,7 @@
#include <X11/keysym.h>
#include <X11/keysymdef.h>
#define PSZ 8
-//#include "fb.h"
+#include "fb.h" /* fbSetVisualTypes */
#include "colormapst.h"
#include "dix.h"
#include "exevents.h"