diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-10-01 09:47:59 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-10-01 09:47:59 +0100 |
commit | 096ddef22d6c57198a424eef00845dc7302b0cfe (patch) | |
tree | f888990e20df351b1583bda855f4c8d274374491 /src/sna/sna.h | |
parent | 0d3e1d3b2e0d82261e367ebba5992c89c429b7c7 (diff) |
sna: Indicate when we expect to call RRGetInfo during discovery
Continuing the udevless saga where we query for topology changes on
calls to RRGetInfo() and so where we cannot call RRGetInfo() ourselves
on discovering the changes (to facilitate hotplug). The next step is
explicitly prevent the recursive call.
References: https://bugs.freedesktop.org/show_bug.cgi?id=91929#c10
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r-- | src/sna/sna.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h index 6c4d1795..7592f7b4 100644 --- a/src/sna/sna.h +++ b/src/sna/sna.h @@ -442,7 +442,7 @@ bool sna_mode_pre_init(ScrnInfoPtr scrn, struct sna *sna); bool sna_mode_fake_init(struct sna *sna, int num_fake); bool sna_mode_wants_tear_free(struct sna *sna); void sna_mode_adjust_frame(struct sna *sna, int x, int y); -extern void sna_mode_discover(struct sna *sna); +extern void sna_mode_discover(struct sna *sna, bool tell); extern void sna_mode_check(struct sna *sna); extern bool sna_mode_disable(struct sna *sna); extern void sna_mode_enable(struct sna *sna); |