These are chat archives for jheinen/GR.jl
I have added two issue related to these questions:
Thanks and waitnig for your response :)
I can't reproduce the problem. If I run your script and obtain the window information (using xwininfo), I get the correct result:
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
xwininfo: Window id: 0x600001 "GKS 5"
Absolute upper-left X: 4
Absolute upper-left Y: 1136
Relative upper-left X: 0
Relative upper-left Y: 22
Visual Class: TrueColor
Border width: 0
Colormap: 0x21 (installed)
Bit Gravity State: ForgetGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +4+1136 -2156+1136 -2156--18 +4--18
So, my question is: What is the output of
xdpyinfo on your display? Are the dimension for your default screen correct? That's what I see for my display:
dimensions: 2560x1418 pixels (677x375 millimeters)
xwininfoare Xlib console commands (xorg-x11-utils, or simailar Un*x package)
GR.inqdspsizeis wrong. I'll have to check this ...
using GR; GR.inqdspsize()should now give the correct display sizes (in meters/pixels).