commit | 33dc42ff9cc2b110d9bcebe339cc358dff028ff4 | [log] [tgz] |
---|---|---|
author | Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com> | Mon Jun 18 16:15:32 2018 +0530 |
committer | Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com> | Mon Jun 18 07:43:03 2018 -0400 |
tree | f7b933e4c20b7a1719e9f8a9229a783f7804c41a | |
parent | 2a350cb91ab642200a0228b2cec22cbc39cb2f40 [diff] |
Bug 535064 - [HiDPI][GTK3] Device#getDPI method returns an incorrect value on x2 scaled screen - fixed regression reported by Bug 535977 and Bug 535992 The earlier implementation used till 4.8M4 used to return 96 in all cases. Here is the documentaion priovicded for gdk_screen_width_mm () "Returns the width of the default screen in millimeters. Note that on many X servers this value will not be correct." Now around M4 we migrated SWT builds to foundation at that time the OS and GTK versions have been upgraded. This caused gdk_screen_width_mm () start returning 0. The new API is available from gtk 3.22 onwards so I am using new api from 3.22. but for previous versions of GTK3 we are returning 96 as it used to be previously. Change-Id: I7f7a1af6f3955e74430ac5a27146cecbf36cd56f Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Thanks for your interest in this project.
See the following description for how to contribute a feature or a bug fix to SWT.
Information regarding source code management, builds, coding standards, and more and be found under the following link.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
Contact the project developers via the project's “dev” list.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!