diff options
author | Laércio de Sousa <laerciosousa@sme-mogidascruzes.sp.gov.br> | 2016-02-12 14:18:01 -0200 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-03-01 10:46:43 -0500 |
commit | 851ff9ec04b73412c7dbad7b4911a1feac21f354 (patch) | |
tree | 66cbf180eb2758bd4d097f6597c03c494b79ccdb | |
parent | 40e32e9fc9f3a1bd8287ee03dd399d8161cb98dd (diff) |
ephyr: enable option -sw-cursor by default in multi-seat mode
Option -seat passed to Xephyr requires -sw-cursor to be passed as well,
otherwise the mouse cursor will remain invisible for the given seat.
This patch takes care of enabling -sw-cursor if -seat is passed.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Laércio de Sousa <laerciosousa@sme-mogidascruzes.sp.gov.br>
-rw-r--r-- | hw/kdrive/ephyr/ephyrinit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/kdrive/ephyr/ephyrinit.c b/hw/kdrive/ephyr/ephyrinit.c index 849a4e19a..149ea981e 100644 --- a/hw/kdrive/ephyr/ephyrinit.c +++ b/hw/kdrive/ephyr/ephyrinit.c @@ -373,6 +373,9 @@ OsVendorInit(void) { EPHYR_DBG("mark"); + if (SeatId) + hostx_use_sw_cursor(); + if (hostx_want_host_cursor()) ephyrFuncs.initCursor = &ephyrCursorInit; |