gtk2/gdk/win32
Chun-wei Fan ac64d2d910 GDK-Win32: Clean up HiDPI support and WGL a bit
Make _gdk_win32_display_get_monitor_scale_factor() less complex, by:

*  Drop the preceding underscore.

*  Dropping an unused parameter.

*  Using a GdkSurface instead of a HWND, as the HWND that we pass into
   this function might have been taken from a GdkSurface, which are now
   always created with CS_OWNDC.  This means if a GdkSurface was passed
   in, we ensure that we only acquire the DC from the HWND once, and do
   not attempt to call ReleaseDC() on it.

*  Store the HDC that we acquire from the GdkSurface's HWND into the
   surface, and use that as the HDC we need for our GdkGLContext.

*  Drop the gl_hwnd from GdkWin32Display, as that is really should be
   stored in the GdkSurface.

*  For functions that were updated, name GdkWin32Display variables as
   display_win32 and GdkSurface variables as surface, to unify things.

*  Stop calling ReleaseDC() on the HDC that we use for OpenGL, since
   they were acquired from HWND's created with CS_OWNDC.
2021-07-19 18:30:42 +08:00
..
rc Drop Autotools build 2017-08-14 22:23:09 +01:00
bdfcursor.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
cursor.bdf *: Fix spelling mistakes found by codespell 2020-08-21 15:29:34 +02:00
gdkcairocontext-win32.c GDK/Win32: Remove layered windows usage 2021-01-18 12:48:16 +08:00
gdkcairocontext-win32.h GDK/Win32: Remove layered windows usage 2021-01-18 12:48:16 +08:00
gdkclipboard-win32.c gdk: Change some async clipboard api 2019-04-02 15:10:53 +00:00
gdkclipboard-win32.h GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkclipdrop-win32.c win32: Move from g_memdup() to g_memdup2() 2021-02-11 14:22:23 +00:00
gdkclipdrop-win32.h win32: Move from g_memdup() to g_memdup2() 2021-02-11 14:22:23 +00:00
gdkcursor-win32.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkdevice-virtual.c win32: Stop using the query_state vfunc 2020-08-26 17:56:41 -04:00
gdkdevice-virtual.h win32: Stop using _gdk_device_query_state 2020-08-26 17:56:41 -04:00
gdkdevice-win32.c GdkWin32: Fix mouse events in presence of transparent windows on the desktop 2020-11-11 12:46:52 +01:00
gdkdevice-win32.h win32: Stop using _gdk_device_query_state 2020-08-26 17:56:41 -04:00
gdkdevice-wintab.c win32: Stop using the query_state vfunc 2020-08-26 17:56:41 -04:00
gdkdevice-wintab.h win32: Stop using _gdk_device_query_state 2020-08-26 17:56:41 -04:00
gdkdevicemanager-win32.c win32: Stop using gdk_surface_new_temp 2020-10-07 21:07:40 -04:00
gdkdevicemanager-win32.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkdisplay-win32.c GDK-Win32: Clean up HiDPI support and WGL a bit 2021-07-19 18:30:42 +08:00
gdkdisplay-win32.h GDK-Win32: Clean up HiDPI support and WGL a bit 2021-07-19 18:30:42 +08:00
gdkdisplaymanager-win32.c Remove unused functions in W32 backend 2018-06-10 21:21:09 +00:00
gdkdrag-win32.c GDK-Win32: Clean up HiDPI support and WGL a bit 2021-07-19 18:30:42 +08:00
gdkdrop-win32.c GDK-Win32: Clean up HiDPI support and WGL a bit 2021-07-19 18:30:42 +08:00
gdkevents-win32.c gdkdrag-win32.c: Fix drag surface positioning 2021-06-18 18:07:50 +08:00
gdkglcontext-win32.c GDK-Win32: Clean up HiDPI support and WGL a bit 2021-07-19 18:30:42 +08:00
gdkglcontext-win32.h Add a EGL renderer (via ANGLE) for Windows 2020-07-30 14:26:33 +08:00
gdkglobals-win32.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkhdataoutputstream-win32.c Fix various compiler warnings with the 64bit mingw build 2020-06-14 20:02:36 +02:00
gdkhdataoutputstream-win32.h GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkkeys-win32.c gdkkeys-win32.c: fix initialisation of key_state in update_keymap 2021-07-09 12:46:49 +08:00
gdkmain-win32.c GDK/Win32: Remove layered windows usage 2021-01-18 12:48:16 +08:00
gdkmonitor-win32.c GDK-Win32: Clean up HiDPI support and WGL a bit 2021-07-19 18:30:42 +08:00
gdkmonitor-win32.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkprivate-win32.h gdk: Replace all GDK_CONFIGURE usage with GdkSurface::layout 2020-12-07 20:37:29 +01:00
gdkproperty-win32.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkscreen-win32.c GDK-Win32: Clean up HiDPI support and WGL a bit 2021-07-19 18:30:42 +08:00
gdksurface-win32.c GDK-Win32: Clean up HiDPI support and WGL a bit 2021-07-19 18:30:42 +08:00
gdksurface-win32.h surface: Remove unused gdk_surface_get_unscaled_size() 2021-03-15 02:56:28 +01:00
gdkvulkancontext-win32.c GDK/Win32: Remove layered windows usage 2021-01-18 12:48:16 +08:00
gdkvulkancontext-win32.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwin32.h gdk: Make GdkKeymap a private api 2020-04-06 16:32:03 -04:00
gdkwin32cursor.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32display.h gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkwin32displaymanager.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32dnd-private.h *: Fix spelling mistakes found by codespell 2020-08-21 15:29:34 +02:00
gdkwin32dnd.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32glcontext.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkwin32id.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkwin32keys.h Documentation fixes 2021-05-20 19:17:49 -04:00
gdkwin32langnotification.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkwin32langnotification.h GDK W32: Test for IME correctly 2019-03-22 16:58:59 +00:00
gdkwin32misc.h Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
gdkwin32monitor.h gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
gdkwin32screen.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32surface.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
libwntab32x.la
meson.build build: Use a consistent style for Meson files 2020-12-15 12:46:59 +00:00
pktdef.h
wintab.h
xcursors.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00