wayland: Also emit monitors-changed when monitors are unplugged

This commit is contained in:
Matthias Clasen 2013-03-26 21:53:41 -04:00
parent 27e517a445
commit ca09a600c3

View File

@ -962,6 +962,9 @@ _gdk_wayland_screen_remove_output_by_id (GdkScreen *screen,
if (wl_proxy_get_id ((struct wl_proxy *)monitor->output) == id)
{
g_ptr_array_remove (screen_wayland->monitors, monitor);
g_signal_emit_by_name (screen_wayland, "monitors-changed");
update_screen_size (screen_wayland);
break;
}
}