gtk/gdk
Alexander Larsson 0b0f110152 Avoid spurious emissions of monitors-changed
The monitor change detection code in _gdk_x11_screen_size_changed() and
process_monitors_change() goes to some length to make sure its only emitted
when there is an actual change to the data visible via the GdkScreen monitors
api.

However, commit 662e69ad added some code that always emits "monitors-changed"
in _gdk_x11_screen_size_changed when we have randr13 and get a ConfigureNotify
on the root window (even though we may already have emitted it in the
RRScreenChangesNotify event!).

As far as I can tell this is due to a comment in the bug referenced by the
commit (https://bugzilla.gnome.org/show_bug.cgi?id=601712#c4) where it says:

  This version of the patch changes GdkDisplay to emit "monitors-changed" when
  the primary monitor changes (see the change in _gdk_x11_screen_size_changed).

And, if you remove this part of the change the signal is not emitted when just
the primary is changed. However, this is not really the right approach. We
should just also check for if the primary changes in process_monitors_change()
to avoid spurious signal emissions.

https://bugzilla.gnome.org/show_bug.cgi?id=643216
2011-02-24 19:47:02 +01:00
..
quartz Minor documentation improvements 2011-02-23 10:26:21 +01:00
tests Bump the version to 3.0.0 2011-02-10 14:41:02 -05:00
win32 Minor documentation improvements 2011-02-23 10:26:21 +01:00
x11 Avoid spurious emissions of monitors-changed 2011-02-24 19:47:02 +01:00
abicheck.sh Bump the version to 3.0.0 2011-02-10 14:41:02 -05:00
COPYING
gdk.c Give the GDK docs some love 2011-02-09 01:32:24 -05:00
gdk.h Remove gdk_spawn functions 2010-12-21 12:07:00 -05:00
gdk.symbols API: gdk: Change get_drag_window() API 2011-02-01 18:51:57 +01:00
gdkapplaunchcontext.c Add deprecation guards for deprecated GdkAppLaunchContext API 2010-12-24 17:37:00 -05:00
gdkapplaunchcontext.h Add deprecation guards for deprecated GdkAppLaunchContext API 2010-12-24 17:37:00 -05:00
gdkapplaunchcontextprivate.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkcairo.c More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkcairo.h More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkcolor.c More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkcolor.h More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkconfig.h.win32 gdk/gdkconfig.h.win32: Make it more up-to-date 2011-02-11 18:07:05 +08:00
gdkcursor.c [GI] Add missing (transfer) annotations 2011-01-20 13:57:18 +01:00
gdkcursor.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkcursorprivate.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkdevice.c Give the GDK docs some love 2011-02-09 01:32:24 -05:00
gdkdevice.h gdk: Fix typo in documentation string 2011-02-08 08:58:49 +01:00
gdkdevicemanager.c GdkDevice: Minor improvement to the overview documentation. 2011-02-23 09:37:06 +01:00
gdkdevicemanager.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkdevicemanagerprivate.h Fix up GDK docs 2010-12-25 00:02:39 -05:00
gdkdeviceprivate.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkdisplay.c Give the GDK docs some love 2011-02-09 01:32:24 -05:00
gdkdisplay.h gdk: Remove GdkEventClient 2011-02-01 06:33:02 +01:00
gdkdisplaymanager.c gdk: Select the X11 backend a the last possible backend 2011-02-12 22:09:58 +01:00
gdkdisplaymanager.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkdisplaymanagerprivate.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkdisplayprivate.h API: gdk: Change get_drag_window() API 2011-02-01 18:51:57 +01:00
gdkdnd.c Fix a doc typo 2011-01-28 11:10:07 -05:00
gdkdnd.h API: gdk: Change get_drag_window() API 2011-02-01 18:51:57 +01:00
gdkdndprivate.h Fix up GDK docs 2010-12-25 00:02:39 -05:00
gdkenumtypes.c.template gdk/: fully remove gdkalias hacks 2010-07-10 02:21:31 +02:00
gdkenumtypes.h.template Remove remaining single-include guards 2010-06-04 19:40:43 -04:00
gdkevents.c Free event axes for double/triple click events. 2011-02-17 20:45:32 +01:00
gdkevents.h API: gdk: Make GdkEventSelection.requestor a GdkWindow 2011-02-01 18:51:57 +01:00
gdkglobals.c Drop the --screen cmdline argument 2010-12-21 12:06:59 -05:00
gdkinternals.h gdk: Remove colormap debug category 2011-01-21 02:54:09 +01:00
gdkintl.h Fix distcheck 2010-10-01 20:02:35 -04:00
gdkkeynames.c Implement keyval vfuncs for quartz 2010-12-22 17:47:00 +01:00
gdkkeys.c [GI] Add missing (out) and (array) annotations 2011-01-20 13:57:20 +01:00
gdkkeys.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkkeysprivate.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkkeysyms-compat.h GDK: Prefix key names with KEY_ 2010-09-08 18:51:44 -04:00
gdkkeysyms-update.pl GDK: Prefix key names with KEY_ 2010-09-08 18:51:44 -04:00
gdkkeysyms.h GDK: Prefix key names with KEY_ 2010-09-08 18:51:44 -04:00
gdkkeyuni.c Inclusion cleanups in sources 2010-10-14 22:09:36 -04:00
gdkmain.h Fix up GDK docs 2010-12-25 00:02:39 -05:00
gdkmarshalers.list Bug 631599 - Allow to use arbitrary surfaces for offscreen windows 2010-10-14 13:25:23 +02:00
gdkoffscreenwindow.c Added set_transient_for() implementation for GdkOffscreenWindow 2011-02-03 23:52:12 +09:00
gdkpango.c [GI] Mark unintrospectable constructs as (skip) 2011-01-20 13:57:21 +01:00
gdkpango.h API: remove GdkPangoRenderer 2010-08-10 21:02:29 +02:00
gdkpixbuf-drawable.c More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkpixbuf.h More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkprivate.h gdk: Remove useless macros from gdkprivate.h 2010-12-02 20:21:05 +01:00
gdkproperty.h Deal with property encoding functions 2010-12-21 12:07:03 -05:00
gdkrectangle.c [GI] Add missing (out) and (array) annotations 2011-01-20 13:57:20 +01:00
gdkrectangle.h Inclusion cleanups in headers 2010-10-14 22:08:53 -04:00
gdkrgba.c More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkrgba.h More GDK documentation tweaks 2011-02-09 02:44:19 -05:00
gdkscreen.c Give the GDK docs some love 2011-02-09 01:32:24 -05:00
gdkscreen.h gdk: Remove GdkEventClient 2011-02-01 06:33:02 +01:00
gdkscreenprivate.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkselection.c API: gdk: Make GdkEventSelection.requestor a GdkWindow 2011-02-01 18:51:57 +01:00
gdkselection.h API: gdk: Make GdkEventSelection.requestor a GdkWindow 2011-02-01 18:51:57 +01:00
gdktestutils.h docs: move documentation to inline comments: gdktesting 2010-11-15 04:12:57 +01:00
gdkthreads.h docs: Move documentation to inline comments: gdkthreads 2010-11-15 21:06:35 +01:00
gdktypes.h API: gdk: Get rid of GdkNativeWindow 2011-02-01 18:51:57 +01:00
gdkvisual.c [GI] Add missing (out) and (array) annotations 2011-01-20 13:57:20 +01:00
gdkvisual.h Consistently hide class structs 2010-12-24 15:54:12 -05:00
gdkvisualprivate.h Fix up GDK docs 2010-12-25 00:02:39 -05:00
gdkwindow.c Minor documentation improvements 2011-02-23 10:26:21 +01:00
gdkwindow.h API: gdk: Change get_drag_window() API 2011-02-01 18:51:57 +01:00
gdkwindowimpl.c gdk: Move window beeps into GdkWindowImpl 2010-12-02 20:21:05 +01:00
gdkwindowimpl.h API: gdk: Change get_drag_window() API 2011-02-01 18:51:57 +01:00
gdkx.h gdk: Fix typo 2011-01-11 17:06:49 +01:00
gen-keyname-table.pl
keyname-table.h Add translation entries for more common keysyms 2011-02-04 15:33:36 -05:00
keynames.txt Mark arrow keys as translatable 2006-12-21 05:11:00 +00:00
makeenums.pl
Makefile.am Bump the version to 3.0.0 2011-02-10 14:41:02 -05:00
makefile.msc win32: gdk3 resurrection 2011-01-02 13:33:04 +01:00