mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
remove unused code fixed x11 build error
This commit is contained in:
parent
c3334d86b3
commit
10a550d9da
1 changed files with 0 additions and 2 deletions
|
|
@ -45,8 +45,6 @@ double sys_scale() {
|
|||
char *displayname = NULL;
|
||||
int scr = 0; /* Screen number */
|
||||
|
||||
if( (NULL == x) || (NULL == y)){ return ; }
|
||||
|
||||
dpy = XOpenDisplay (displayname);
|
||||
xres = ((((double) DisplayWidth(dpy, scr)) * 25.4) /
|
||||
((double) DisplayWidthMM(dpy, scr)));
|
||||
|
|
|
|||
Loading…
Reference in a new issue