summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tablet2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tablet b/scripts/tablet
index 31c4871..35294ac 100755
--- a/scripts/tablet
+++ b/scripts/tablet
@@ -36,7 +36,7 @@ dev = input("Select input device (id) to use: ")
prop = [ re.search(r"\((.+)\)", line).group(1) for line in subprocess.check_output(["xinput", "list-props", dev]).decode("ascii").split("\n") if re.search("Coordinate Transformation Matrix", line) ][0]
if len(screens) == 1:
- target = screens[1]
+ target = screens[0]
else:
print("Multiple screens detected:\n")
for i, screen in enumerate(screens):