gtk2/gdk
Руслан Ижбулатов 58ba4d6a3e GDK W32: Ensure that we use made-up monitors when there are none
Previously GDK only made up monitors when it initially found none. Now it
also makes up monitors when it initially finds some, but later fails to get
their informatin in a normal way and finally prunes them out, being left with
zero monitors.

Having zero-length monitor array is unexpected and causes a number
of critical warnings and some critical functionality (such as displaying
drop-down menus) fails in such cases.

Ideally, there might be such a way to interrogate W32 API that produces the
information about non-real (but active) monitors out of it so that it isn't
necessary for us to make stuff up. However, this code is already complicated,
and i am not prepared to dig W32 API to find a way to do this.

This fixes the issues people had when they accessed a Windows desktop via RDP.

https://bugzilla.gnome.org/show_bug.cgi?id=777527
2017-12-02 10:38:23 +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: Ensure that we use made-up monitors when there are none 2017-12-02 10:38:23 +00:00
x11 docs: Remove mentions of gdk_cursor_new_from_pixbuf 2017-11-29 20:14:53 -05:00
COPYING
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
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
gdkdevicepad.h
gdkdevicepadprivate.h
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
gdkdevicetoolprivate.h
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
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
gdkenumtypes.h.template
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
gdkframeclockidle.c build: Enable -Wswitch-enum and -Wswitch-default 2017-10-06 21:23:39 +02:00
gdkframeclockidle.h
gdkframeclockprivate.h
gdkframetimings.c
gdkframetimings.h
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
gdkkeynames.c
gdkkeys.c gdk: Intern signal names 2017-11-17 22:47:26 -05:00
gdkkeys.h
gdkkeysprivate.h
gdkkeysyms-update.pl Remove gdkkeysyms-compat.h 2017-05-03 14:54:37 +01:00
gdkkeysyms.h
gdkkeyuni.c
gdkmarshalers.list
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
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
gdkseat.h
gdkseatdefault.c gdkseatdefault: Use TABLET_STYLUS capability for styli/erasers/cursors 2017-11-27 21:41:25 +01:00
gdkseatdefaultprivate.h
gdkseatprivate.h
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
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
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
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
meson.build Drop GdkDeviceManager entirely 2017-11-25 11:04:15 -05:00