randr: Properly update things if the number of monitors changes
commit47ebbb21909ac0b36a31d335502fe83a410939dd
authorHans de Goede <hdegoede@redhat.com>
Mon, 7 Jan 2013 18:57:44 +0000 (7 19:57 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 7 Jan 2013 20:44:12 +0000 (7 21:44 +0100)
treea7063134f03c57756d0c457dbdba930c1d39a2cf
parent27d63542b40b6d7cf4256d7586bc985b55f774bf
randr: Properly update things if the number of monitors changes

If the number of monitors changes, and the remaining monitors are
the same as before, then same_monitor_configs() would wrongly return
true, causing monitor-reconfiguarion to be skipped.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
src/vdagent-x11-priv.h
src/vdagent-x11-randr.c