Commit dbe8d03c authored by Keith Packard's avatar Keith Packard

randr: Send ConfigNotify when manual monitor list changes

This lets clients know that the layout of the monitors on the screen
has changed so they can adapt appropriately.
Signed-off-by: Keith Packard's avatarKeith Packard <>
Reviewed-by: default avatarDave Airlie <>
parent eddf848c
......@@ -721,7 +721,9 @@ ProcRRSetMonitor(ClientPtr client)
monitor->geometry.mmHeight = stuff->monitor.heightInMillimeters;
r = RRMonitorAdd(client, screen, monitor);
if (r != Success)
if (r == Success)
return r;
......@@ -745,5 +747,8 @@ ProcRRDeleteMonitor(ClientPtr client)
return BadAtom;
return RRMonitorDelete(client, screen, stuff->name);
r = RRMonitorDelete(client, screen, stuff->name);
if (r == Success)
return r;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment