display: Add a signal for scale changes
This will allows other bits of the UI to monitor scale changes.
This commit is contained in:
parent
023c988ad6
commit
e4dc2995a3
2 changed files with 7 additions and 0 deletions
|
@ -716,6 +716,8 @@ cc_display_monitor_dbus_set_scale (CcDisplayMonitor *pself,
|
|||
/* See comment in ensure_gapless() for why we disregard the
|
||||
existing layout here. */
|
||||
cc_display_config_dbus_make_linear (self->config);
|
||||
|
||||
g_signal_emit_by_name (self, "scale");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue