On Monday 14 January 2008, Matthias Hopf wrote:
On Dec 29, 07 01:25:09 +0100, Matthias Hopf wrote:
Ok, I attach a patch for calculating width and height if none is available (assuming 96dpi always). As I cannot test this for side effects right now, I don't want to commit it yet. Please test. It won't get the exact size, of course, but at least aspect should be good, and most programs should be happy with it.
Ping?
Sorry, somehow I missed the previous email :( OK, I just applied patch to latest git, now it calculates the panel size OK: $ xrandr Screen 0: minimum 320 x 200, current 1440 x 900, maximum 1440 x 900 VGA_1 disconnected PANEL connected 1440x900+0+0 381mm x 238mm 1440x900 59.9*+ Just a small note, the width is by 1mm different from what the xdpyinfo thinks about this screen: $ xdpyinfo | grep -A 2 "screen #0" screen #0: dimensions: 1440x900 pixels (380x238 millimeters) resolution: 96x96 dots per inch The 381mm value looks correct to me, so probably this is a truncation in xdpyinfo. Thank you for your help. Best regards, Kirill -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org