Get rid of this unused variable
This commit is contained in:
parent
1b9c906d69
commit
bcfd4a3cd6
|
@ -98,7 +98,6 @@ static bool x11_display_server_set_resolution(void *data,
|
||||||
int m;
|
int m;
|
||||||
XRRScreenResources *resources;
|
XRRScreenResources *resources;
|
||||||
XRRModeInfo *swmode = NULL;
|
XRRModeInfo *swmode = NULL;
|
||||||
XRRModeInfo *crt_xrrmode = NULL;
|
|
||||||
XRRScreenResources *res = NULL;
|
XRRScreenResources *res = NULL;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
int hfp = 0;
|
int hfp = 0;
|
||||||
|
@ -215,7 +214,6 @@ static bool x11_display_server_set_resolution(void *data,
|
||||||
/* 10 for -hsync -vsync. 26 for -hsync -vsync interlaced */
|
/* 10 for -hsync -vsync. 26 for -hsync -vsync interlaced */
|
||||||
crt_rrmode.hSkew = 0;
|
crt_rrmode.hSkew = 0;
|
||||||
|
|
||||||
crt_xrrmode = &crt_rrmode;
|
|
||||||
res = XRRGetScreenResources(dpy, window);
|
res = XRRGetScreenResources(dpy, window);
|
||||||
XSync(dpy, False);
|
XSync(dpy, False);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue