sna: Fix attachment of the default monitor to the first output
Broke during code motion in
commit add84cd8a8
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Fri May 2 13:21:02 2014 +0100
sna: Perform dynamic connector discovery
Reported-and-tested-by: Jay Little <jaylittle@jaylittle.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79015
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
5168a160a1
commit
00d9396f6b
|
|
@ -2926,8 +2926,8 @@ sna_output_add(struct sna *sna, int id, int serial)
|
|||
output->name = (char *)(output + 1);
|
||||
memcpy(output->name, name, len + 1);
|
||||
|
||||
output->use_screen_monitor = config->num_output;
|
||||
xf86OutputUseScreenMonitor(output, !config->num_output);
|
||||
output->use_screen_monitor = config->num_output != 1;
|
||||
xf86OutputUseScreenMonitor(output, !output->use_screen_monitor);
|
||||
|
||||
sna_output->id = compat_conn.conn.connector_id;
|
||||
sna_output->is_panel = is_panel(compat_conn.conn.connector_type);
|
||||
|
|
|
|||
Loading…
Reference in New Issue