I had the exact same problem; it seemed like my mouse was demon-possessed whenever anything bumped the screen - and who needs a touchscreen on a laptop anyway?
The easy fix uses xinput (installed by default in LEAP, but grab it from the standard repo for Tumbleweed).
For terminal, enter the command “xinput”.
Scan the output for your touchscreen; it may be gobbledegook that you have to identify by process of elimination (not the mouse, not the touchpad, not the keyboard). Each driver has a numerical ID.
Next enter the command “xinput disable ID” (except for ID use the number you learned in the previous step.
Molest your screen, and if there’s no response, you disabled the right thing. (Otherwise, reboot and try again.)
Now, in the output from that first xinput command, select and copy the driver name.
In the settings for your desktop of choice, add to the autostart command list “xinput disable NAME” (except for NAME paste that bit you just copied). The reason you can’t use the numerical ID is that it’s not guaranteed to be the same everytime.
If you have multiple user accounts or if you use multiple sessions, do the same for each.
The hard way is to edit a config file, which thyen works for every user in every session, but I no longer have the machine with the cracked screen, and I no longer rember which file. I could find it at home, but not while posting on my lunch break at work, so ping back if the xinput way isn’t good enough for your use case. -GEF