Strip trailing whitespace from source files

Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'`

`git diff -w` & `git diff -b` show no diffs from this change

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-vmmouse/-/merge_requests/7>
This commit is contained in:
Alan Coopersmith
2025-08-12 16:41:06 -07:00
committed by Enrico Weigelt, metux IT consult
parent 724d3a3d5d
commit e91f6bf163
5 changed files with 13 additions and 13 deletions

4
.gitignore vendored
View File

@@ -71,8 +71,8 @@ core
*.tar.bz2 *.tar.bz2
*.tar.gz *.tar.gz
# #
# Add & Override patterns for xf86-input-vmmouse # Add & Override patterns for xf86-input-vmmouse
# #
# Edit the following section as needed # Edit the following section as needed
# For example, !report.pc overrides *.pc. See 'man gitignore' # For example, !report.pc overrides *.pc. See 'man gitignore'
# #

14
README
View File

@@ -3,13 +3,13 @@ VMMouse
The VMMouse driver enables support for the special VMMouse protocol The VMMouse driver enables support for the special VMMouse protocol
that is provided by VMware virtual machines to give absolute pointer that is provided by VMware virtual machines to give absolute pointer
positioning. positioning.
Installing the driver will improve the user experience when using the Installing the driver will improve the user experience when using the
mouse to interact with the guest operating system. In particular, use of mouse to interact with the guest operating system. In particular, use of
the driver improves mouse "lag", provides mouse speed and acceleration the driver improves mouse "lag", provides mouse speed and acceleration
consistent with the user's host operating system, and enables the consistent with the user's host operating system, and enables the
auto-grab/ungrab feature in VMware products without requiring the VMware auto-grab/ungrab feature in VMware products without requiring the VMware
toolbox application. toolbox application.
Using the driver Using the driver
@@ -36,7 +36,7 @@ operating system, a linux kernel input driver or even gpm.
The driver is composed of three different layers: The driver is composed of three different layers:
1) The vmmouse protocol layer (vmmouse_proto.[c|h]) 1) The vmmouse protocol layer (vmmouse_proto.[c|h])
- This provides the call to read and write the port over which - This provides the call to read and write the port over which
the vmmouse packets are transfered. the vmmouse packets are transfered.
2) The vmmouse client layer (vmmouse_client.[c|h]) 2) The vmmouse client layer (vmmouse_client.[c|h])

View File

@@ -19,7 +19,7 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE. # DEALINGS IN THE SOFTWARE.
# #
drivermandir = $(DRIVER_MAN_DIR) drivermandir = $(DRIVER_MAN_DIR)
driverman_PRE = @DRIVER_NAME@.man driverman_PRE = @DRIVER_NAME@.man

View File

@@ -1,4 +1,4 @@
.\" $XFree86: xc/programs/Xserver/hw/xfree86/input/mouse/mouse.man,v 1.5 2002/12/17 20:55:21 dawes Exp $ .\" $XFree86: xc/programs/Xserver/hw/xfree86/input/mouse/mouse.man,v 1.5 2002/12/17 20:55:21 dawes Exp $
.\" shorthand for double quote that works everywhere. .\" shorthand for double quote that works everywhere.
.ds q \N'34' .ds q \N'34'
.TH VMMOUSE __drivermansuffix__ __vendorversion__ .TH VMMOUSE __drivermansuffix__ __vendorversion__
@@ -37,7 +37,7 @@ specific options, but if you set
.B mouse(__drivermansuffix__) .B mouse(__drivermansuffix__)
options, they will be passed on. options, they will be passed on.
.PP .PP
See the See the
.B mouse(__drivermansuffix__) .B mouse(__drivermansuffix__)
man page for details on these options. man page for details on these options.
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@@ -55,7 +55,7 @@ main(void)
*/ */
signal(SIGSEGV, segvCB); signal(SIGSEGV, segvCB);
#if defined __i386__ || defined __x86_64__ #if defined __i386__ || defined __x86_64__
(void) xf86EnableIO(); (void) xf86EnableIO();
if (VMMouseClient_Enable()) { if (VMMouseClient_Enable()) {
VMMouseClient_Disable(); VMMouseClient_Disable();