gtk2/gdk
Руслан Ижбулатов 3c9b667d3e GDK W32: Apply HiDPI scale properly to monitors
Previously HiDPI scale was retrieved and applied too late in the initialization
process to affect monitor size and monitor workarea size, but the code that
initializes these sizes *did* try to use the scale, even though it was always
getting scale=1.

To fix this, move the too-late code into monitor enumeration routine.
This also fixes a probable semantic bug where width and height were divided
by scale, again.

Now monitor and workarea should be in application pixels (i.e. divided by scale),
as intended.

https://bugzilla.gnome.org/show_bug.cgi?id=778835
2017-12-02 10:38:25 +00:00
..
broadway broadway: Add some (disabled) debugging tools 2017-11-30 21:57:42 +01:00
mir gdk: Replace GDK_NONE with NULL 2017-11-15 19:07:17 +01:00
quartz quartz: Stop deriving from GdkDeviceManager 2017-11-25 11:04:15 -05:00
resources/glsl Use GLSL version 110 for OpenGL 2 shaders. 2016-11-01 15:42:46 -03:00
wayland wayland: Never send NULL app id 2017-12-01 07:30:25 +01:00
win32 GDK W32: Apply HiDPI scale properly to monitors 2017-12-02 10:38:25 +00:00
x11 docs: Remove mentions of gdk_cursor_new_from_pixbuf 2017-11-29 20:14:53 -05:00
COPYING Change FSF Address 2012-02-27 17:06:11 +00:00
fallback-c89.c fallback-c89: Include config.h 2017-05-03 14:47:14 +01:00
gdk-autocleanup.h gdk: Add some missing autocleanups 2017-11-28 15:03:48 -05:00
gdk-private.h Add private api for setting cursor theme 2017-11-17 17:42:12 -05:00
gdk.c Stop including gdkmain.h 2017-11-17 00:16:09 -05:00
gdk.h Drop GdkDeviceManager entirely 2017-11-25 11:04:15 -05:00
gdkapplaunchcontext.c Stop including gdkscreen.h 2017-11-17 10:51:55 -05:00
gdkapplaunchcontext.h Drop GdkScreen from public api 2017-11-01 19:44:29 -04:00
gdkapplaunchcontextprivate.h Drop gdk_app_launch_context_set_screen 2017-10-30 23:01:34 -04:00
gdkcairo.c docs: Remove mention of GdkColor 2017-01-18 04:13:56 +01:00
gdkcairo.h API: gdk: Remove ability to render window contents 2016-11-20 11:47:44 +01:00
gdkconfig.h.meson gdk/gdkconfig.h.meson: Add GDK_WINDOWING_WIN32 2017-09-15 21:41:15 +08:00
gdkconfig.h.win32 Clean up the pre-configured gdkconfig.h.win32 2013-05-28 13:04:37 +08:00
gdkconfig.h.win32_vulkan Visual Studio builds: Support Vulkan builds 2016-12-30 14:42:38 +08:00
gdkcontentformats.c Fix some parameter name mismatches to make g-ir-scanner happier 2017-11-28 15:24:49 +01:00
gdkcontentformats.h gdk: Add GType support to GdkContentFormats 2017-11-20 23:22:28 +01:00
gdkcontentformatsprivate.h gdk: Sanitize GdkContentFormats API 2017-11-20 23:15:11 +01:00
gdkcursor.c Drop gdk_cursor_new_from_pixbuf 2017-11-29 20:16:43 -05:00
gdkcursor.h Drop gdk_cursor_new_from_pixbuf 2017-11-29 20:16:43 -05:00
gdkcursorprivate.h gdk: Add gdk_cursor_hash() and gdk_cursor_equal() 2017-11-04 00:07:13 +01:00
gdkdevice.c Drop the ::device-manager property 2017-11-25 11:04:15 -05:00
gdkdevice.h Don't mention GdkDeviceManager in docs 2017-11-25 11:04:14 -05:00
gdkdevicepad.c gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkdevicepad.h gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkdevicepadprivate.h gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkdeviceprivate.h Drop the ::device-manager property 2017-11-25 11:04:15 -05:00
gdkdevicetool.c gdk: Use G_PARAM_SPEC_STATIC_STRINGS throughout 2017-11-17 21:38:08 -05:00
gdkdevicetool.h gdk: Add a getter for the hardware id of a GdkDeviceTool 2016-08-23 21:01:44 +02:00
gdkdevicetoolprivate.h gdk: Pass hardware ID on gdk_device_tool_new() 2016-08-23 21:01:44 +02:00
gdkdisplay.c display: Drop the device_manager for good 2017-11-25 11:04:14 -05:00
gdkdisplay.h display: Drop the device_manager for good 2017-11-25 11:04:14 -05:00
gdkdisplaymanager.c gdk: Use G_PARAM_SPEC_STATIC_STRINGS throughout 2017-11-17 21:38:08 -05:00
gdkdisplaymanager.h gdk: Move some headers around 2017-11-16 22:18:45 -05:00
gdkdisplaymanagerprivate.h gdk: Unvfuncify gdk_display_manager_open_display() 2013-04-19 16:23:43 -04:00
gdkdisplayprivate.h display: Drop the device_manager for good 2017-11-25 11:04:14 -05:00
gdkdnd.c gdkdnd: Make GdkDragContext->formats a GdkContentFormats 2017-11-20 23:12:33 +01:00
gdkdnd.h gdkdnd: Make GdkDragContext->formats a GdkContentFormats 2017-11-20 23:12:33 +01:00
gdkdndprivate.h gdkdnd: Make GdkDragContext->formats a GdkContentFormats 2017-11-20 23:12:33 +01:00
gdkdrawcontext.c Trivial doc fixups 2016-12-09 14:59:46 -05:00
gdkdrawcontext.h gdk: Add GdkDrawContext 2016-12-05 15:02:47 +01:00
gdkdrawcontextprivate.h gdk: Make gdk_window_begin_draw_frame() take a draw context 2016-12-05 15:02:47 +01:00
gdkdrawingcontext.c GdkDrawingContext: Add missing break in switch statement 2017-03-18 07:07:06 +01:00
gdkdrawingcontext.h gdk: Make gdk_window_begin_draw_frame() take a draw context 2016-12-05 15:02:47 +01:00
gdkdrawingcontextprivate.h drawingcontext: Add a private struct 2016-11-23 18:49:48 +01:00
gdkenumtypes.c.template Include config.h in gdkenumtypes.c.template 2013-03-15 09:19:35 -04:00
gdkenumtypes.h.template Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkevents.c gdk: Move code around 2017-11-17 16:22:21 -05:00
gdkevents.h gdk: Remove VisibilityNotify events 2017-11-01 22:00:34 +01:00
gdkeventsprivate.h Stop providing the owner in GdkEventOwnerChange 2017-11-01 22:53:24 -04:00
gdkframeclock.c frame-clock: Fix typo in API documentation 2017-11-22 15:24:19 +01:00
gdkframeclock.h Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkframeclockidle.c build: Enable -Wswitch-enum and -Wswitch-default 2017-10-06 21:23:39 +02:00
gdkframeclockidle.h GdkFrameClockIdle: Add a missing declaration 2014-09-05 20:44:22 -04:00
gdkframeclockprivate.h frametimings: reuse previous frame timing in common case 2016-04-26 09:06:07 -04:00
gdkframetimings.c frametimings: reuse previous frame timing in common case 2016-04-26 09:06:07 -04:00
gdkframetimings.h Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkgl.c build: Enable -Wswitch-enum and -Wswitch-default 2017-10-06 21:23:39 +02:00
gdkglcontext.c doc: Replace uses of #NULL with %NULL 2017-11-22 20:58:28 +00:00
gdkglcontext.h gdkgl: Add gdk_gl_context_get_damage() 2016-12-05 15:02:47 +01:00
gdkglcontextprivate.h gdkgl: Add gdk_gl_context_get_damage() 2016-12-05 15:02:47 +01:00
gdkglobals.c gdk: Move gdk_disable_multidevice tot he X11 backend 2017-11-25 11:04:14 -05:00
gdkinternals.h Drop support for setting event masks for floating devices 2017-11-25 11:04:14 -05:00
gdkintl.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkkeynames.c Keep XF86 keysym names working 2013-04-19 20:11:39 -04:00
gdkkeys.c gdk: Intern signal names 2017-11-17 22:47:26 -05:00
gdkkeys.h gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03:00
gdkkeysprivate.h gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03:00
gdkkeysyms-update.pl Remove gdkkeysyms-compat.h 2017-05-03 14:54:37 +01:00
gdkkeysyms.h Update gdkkeysyms.h header 2013-04-19 20:11:38 -04:00
gdkkeyuni.c GDK W32: Cache multiple keyboard layouts simultaneously 2016-08-04 16:37:18 +00:00
gdkmarshalers.list gdkwindow: add gdk_window_move_to_rect () 2016-07-19 09:38:54 -04:00
gdkmonitor.c gdk: Use G_PARAM_SPEC_STATIC_STRINGS throughout 2017-11-17 21:38:08 -05:00
gdkmonitor.h monitor: Add a ::valid property 2017-11-01 14:17:20 -04:00
gdkmonitorprivate.h monitor: Add a ::valid property 2017-11-01 14:17:20 -04:00
gdkpango.c Stop including gdkscreen.h 2017-11-17 10:51:55 -05:00
gdkpango.h Drop gdk_pango_context_get_for_display 2017-10-31 18:15:50 -04:00
gdkpixbuf-drawable.c API: gdk: Remove ability to render window contents 2016-11-20 11:47:44 +01:00
gdkpixbuf.h API: gdk: Remove ability to render window contents 2016-11-20 11:47:44 +01:00
gdkproperty.c Remove gdkprivate.h 2017-11-17 00:34:04 -05:00
gdkproperty.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkrectangle.c gdk/gtk: Fix Since tags for 3.92 symbols 2017-05-30 15:10:25 +02:00
gdkrectangle.h gdk/gtk: Fix more AVAILABLE_IN annotations to 3_92 2017-05-28 14:20:19 +01:00
gdkrgba.c GdkRGBA: Fix misspelt parameter names in docs 2017-07-06 14:03:08 +01:00
gdkrgba.h API: gdk: Add gdk_rgba_is_clear() and gdk_rgba_is_opaque() 2016-12-20 18:01:12 +01:00
gdkseat.c gdk: Add GdkSeat::tool-added/removed signals 2016-04-06 15:43:29 +02:00
gdkseat.h GdkSeat: Add G_BEGIN_DECLS and G_END_DECLS 2015-12-22 10:33:41 +01:00
gdkseatdefault.c gdkseatdefault: Use TABLET_STYLUS capability for styli/erasers/cursors 2017-11-27 21:41:25 +01:00
gdkseatdefaultprivate.h GdkSeatDefault: Add functions to add/remove tools 2016-04-06 15:43:29 +02:00
gdkseatprivate.h gdk: Add GdkSeat::tool-added/removed signals 2016-04-06 15:43:29 +02:00
gdkselection.c gdk: Replace GDK_NONE with NULL 2017-11-15 19:07:17 +01:00
gdkselection.h gdk: Get rid of magic special atoms 2017-11-15 19:07:17 +01:00
gdktexture.c Remove gdkprivate.h 2017-11-17 00:34:04 -05:00
gdktexture.h Fix some typos 2017-11-04 23:51:25 -04:00
gdktextureprivate.h GskTexture => GdkTexture 2017-11-04 00:07:13 +01:00
gdkthreads.h gdk: Remove deprecated gdk_threads_set_lock_functions 2016-10-24 10:33:17 +02:00
gdktypes.h Drop GdkDeviceManager entirely 2017-11-25 11:04:15 -05:00
gdkversionmacros.h.in Add 3.94 version macros 2017-10-19 12:18:52 +02:00
gdkvulkancontext.c vulkan: Don't crash if vkEnumeratePhysicalDevices fails 2017-11-30 21:57:42 +01:00
gdkvulkancontext.h gdk: Skip GdkVulkanContext methods when building introspection data 2017-01-19 18:18:07 +00:00
gdkvulkancontextprivate.h Fix a typo 2017-09-25 17:53:54 -04:00
gdkwindow.c docs: Remove mentions of gdk_cursor_new_from_pixbuf 2017-11-29 20:14:53 -05:00
gdkwindow.h Drop support for setting event masks for floating devices 2017-11-25 11:04:14 -05:00
gdkwindowimpl.c Drop support for offscreen GdkWindows 2016-10-25 09:54:37 +02:00
gdkwindowimpl.h gdkdnd: Make GdkDragContext->formats a GdkContentFormats 2017-11-20 23:12:33 +01:00
gen-gdk-gresources-xml.py meson: gdk: update and sync with Makefiles 2017-05-03 15:10:53 +01:00
gen-keyname-table.pl gdk: Make gen-keyname-table.pl work again 2011-10-26 10:36:43 +01:00
keyname-table.h gdk: Translate some more key names 2017-10-09 20:33:14 +02:00
keynames-translate.txt gdk: Translate some more key names 2017-10-09 20:33:14 +02:00
keynames.txt Fix key "Page_Down" identified as "Next" 2013-10-24 18:48:33 -04:00
meson.build Drop GdkDeviceManager entirely 2017-11-25 11:04:15 -05:00