libs-back/Source/x11
Eric Wasylishen 337ce46bba * Source/win32/WIN32Server.m (-resolutionForScreen:):
Scale the result by 0.75 so the Windows default of 96 DPI is
mapped to the GNUstep default of 72 DPI. While this sounds wrong,
72 and 96 are just "virtual" DPI's; both mean 1 point = 1 pixel,
so it's actually the right thing to do.
* Source/x11/XGServerWindow.m (-resolutionForScreen:):
Comment out the implementation and just return 72 for now,
because I'm not sure if we can trust the value the X server
gives us.

NOTE: Currently -gui ignores these methods and only looks at the
GSScaleFactor user default. I'm going to make -gui use the server
values now, because it's safe to do so on Windows (the system
DPI is set by the user, and affects all applications.)

NOTE: We might consider refactoring these methods to be called
scaleFactorForScreen: to make it clearer what they do.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33658 72102866-910b-0410-8b05-ffd578937521
2011-07-30 20:39:10 +00:00
..
.cvsignore Update FSF Address 2005-05-26 22:51:53 +00:00
context.c AlpenStep stuff with Fred Kiefer's help: 2007-09-02 14:23:03 +00:00
convert.c Fixed problems found by sttic code analyser. 2010-09-11 14:00:35 +00:00
GNUmakefile Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=gnustep-back 2008-12-19 13:05:05 +00:00
GNUmakefile.preamble Revert library license version to 2 until applications can be converted 2008-06-10 04:12:46 +00:00
raster.c Allow non-resizable windows to be resized programmatically. 2007-10-12 09:32:27 +00:00
scale.c Add XIM Input Method, UPdate to wraster 0.80.2 2003-07-22 04:28:43 +00:00
wrasterP.h Add/fix copyright and licenses. 2005-07-01 20:43:10 +00:00
xdnd.c Update FSF Address 2005-05-26 22:51:53 +00:00
XGDragView.m Fixes warnings reported by clang. 2011-04-09 17:10:49 +00:00
XGGLContext.m * Source/win32/w32_GLContext.m: 2010-07-26 01:41:55 +00:00
XGGLFormat.m TG: Change GLX_VERSION_1_4 check 2009-10-31 11:56:01 +00:00
XGServer.m * Source/x11/XGServerWindow.m: 2011-05-15 08:37:44 +00:00
XGServerEvent.m * Source/x11/XGServerWindow.m: 2011-05-15 08:37:44 +00:00
XGServerWindow.m * Source/win32/WIN32Server.m (-resolutionForScreen:): 2011-07-30 20:39:10 +00:00
XIMInputServer.m Fixes warnings reported by clang. 2011-04-09 17:10:49 +00:00
xutil.c Add XIM Input Method, UPdate to wraster 0.80.2 2003-07-22 04:28:43 +00:00
XWindowBuffer.m Fixes warnings reported by clang. 2011-04-09 17:10:49 +00:00