CVS commit: xsrc/external/mit/xorg-server/dist/config

2021-12-05 Thread Nia Alarie
Module Name:xsrc
Committed By:   nia
Date:   Sun Dec  5 21:14:13 UTC 2021

Modified Files:
xsrc/external/mit/xorg-server/dist/config: wscons.c

Log Message:
Follow the error path if asprintf fails, not if it succeeds.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 xsrc/external/mit/xorg-server/dist/config/wscons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xorg-server/dist/config/wscons.c
diff -u xsrc/external/mit/xorg-server/dist/config/wscons.c:1.4 xsrc/external/mit/xorg-server/dist/config/wscons.c:1.5
--- xsrc/external/mit/xorg-server/dist/config/wscons.c:1.4	Tue Sep 28 07:20:54 2021
+++ xsrc/external/mit/xorg-server/dist/config/wscons.c	Sun Dec  5 21:14:12 2021
@@ -139,7 +139,7 @@ wscons_add_keyboard(void)
 input_options = input_option_new(input_options, "name", WSCONS_KBD_DEVICE);
 input_options = input_option_new(input_options, "driver", "kbd");
 
-if (asprintf(&config_info, "wscons:%s", WSCONS_KBD_DEVICE) != -1)
+if (asprintf(&config_info, "wscons:%s", WSCONS_KBD_DEVICE) == -1)
 goto unwind;
 if (KB_ENCODING(wsenc) == KB_USER) {
 /* Ignore wscons "user" layout */



CVS commit: xsrc/external/mit/xorg-server/dist/config

2021-12-05 Thread Nia Alarie
Module Name:xsrc
Committed By:   nia
Date:   Sun Dec  5 21:14:13 UTC 2021

Modified Files:
xsrc/external/mit/xorg-server/dist/config: wscons.c

Log Message:
Follow the error path if asprintf fails, not if it succeeds.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 xsrc/external/mit/xorg-server/dist/config/wscons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: xsrc/external/mit/xorg-server/dist/config

2021-09-28 Thread Nia Alarie
Module Name:xsrc
Committed By:   nia
Date:   Tue Sep 28 07:20:55 UTC 2021

Modified Files:
xsrc/external/mit/xorg-server/dist/config: wscons.c

Log Message:
Switch to xf86-input-ws for mouse by default, to allow more advanced
input devices to Just Work.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/xorg-server/dist/config/wscons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xorg-server/dist/config/wscons.c
diff -u xsrc/external/mit/xorg-server/dist/config/wscons.c:1.3 xsrc/external/mit/xorg-server/dist/config/wscons.c:1.4
--- xsrc/external/mit/xorg-server/dist/config/wscons.c:1.3	Mon Dec 31 09:49:59 2018
+++ xsrc/external/mit/xorg-server/dist/config/wscons.c	Tue Sep 28 07:20:54 2021
@@ -265,8 +265,8 @@ wscons_add_pointers(void)
 break;
 }
 }
-/* Add a default entry catching all other mux elements as "mouse" */
-wscons_add_pointer(WSCONS_MOUSE_PREFIX, "mouse", ATTR_POINTER);
+/* Add a default entry catching all other mux elements as "ws" */
+wscons_add_pointer(WSCONS_MOUSE_PREFIX, "ws", ATTR_POINTER);
 }
 
 int



CVS commit: xsrc/external/mit/xorg-server/dist/config

2021-09-28 Thread Nia Alarie
Module Name:xsrc
Committed By:   nia
Date:   Tue Sep 28 07:20:55 UTC 2021

Modified Files:
xsrc/external/mit/xorg-server/dist/config: wscons.c

Log Message:
Switch to xf86-input-ws for mouse by default, to allow more advanced
input devices to Just Work.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/xorg-server/dist/config/wscons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.