wacom: don't fetch the dimensions if we're stopping live mode
There's just no point to that and if the tablet is currently in live mode, it refuses the GET_WIDTH request anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>pull/215/head
parent
9eedbe108a
commit
960904d481
|
@ -805,6 +805,7 @@ class WacomProtocolSlate(WacomProtocolSpark):
|
||||||
self._on_sysevent_data_received)
|
self._on_sysevent_data_received)
|
||||||
|
|
||||||
def live_mode(self, mode, uhid):
|
def live_mode(self, mode, uhid):
|
||||||
|
if mode:
|
||||||
# Slate tablet has two models A5 and A4
|
# Slate tablet has two models A5 and A4
|
||||||
# Here, we read real tablet dimensions before
|
# Here, we read real tablet dimensions before
|
||||||
# starting live mode
|
# starting live mode
|
||||||
|
|
Loading…
Reference in New Issue