문제

I have to get the display_name variable of an Xorg Display struct. (eg. display->display_name).

Right now I'm compiling with the XLIB_ILLEGAL_ACCESS define, which gives me direct access to the struct.

Is there a proper way to get this?

도움이 되었습니까?

해결책

You probably need DisplayString(dpy) - see xdpyinfo source.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top