summaryrefslogtreecommitdiff
path: root/xset.c
AgeCommit message (Collapse)AuthorFilesLines
2009-06-16XKB named indicator support for led state query/setAlan Coopersmith1-4/+133
xset q now lists XKB named indicator states in addition to led bitmask Sample output: Keyboard Control: auto repeat: on key click percent: 0 LED mask: 0000000a XKB indicators: 00: Caps Lock: off 01: Num Lock: on 02: Scroll Lock: off 03: Compose: on 04: Shift Lock: off 05: Group 2: off 06: Mouse Keys: off [...] New options "xset led named <name>" and "xset -led named <name>" allow turning named leds/virtual indicators on & off. ('named' keyword is necessary to avoid ambiguity if an XKB indicator is given a numeric name or a name that matches an existing xkb option due to xset's horrible historic command line syntax model.) Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-01Avoid warning from "xset r rate" when XF86Misc extension is not presentAlan Coopersmith1-17/+18
- Since XF86Misc is only used if XKB is not present, don't check for XF86Misc unless XKB is not present - If we do check for XF86Misc, use QueryExtension instead of QueryVersion to avoid Xlib printing missing extension warning message when it's not found (such as in Xorg 1.6 and later). Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-01-26Correct make distcheck and most sparse warnings.Paulo Cesar Pereira de Andrade1-2/+2
2008-01-15Delete duplicated #include statementsAlan Coopersmith1-10/+0
2008-01-15Convert function declarations from K&R to ANSI CAlan Coopersmith1-7/+2
2008-01-15Make code formatting consistentAlan Coopersmith1-1057/+1081
Too many different indent styles/levels made code hard to read
2007-08-27Use autoconf to check for usleep before falling into twisty #ifdef mazeAlan Coopersmith1-2/+8
2006-04-07Free modifier map when done with it (Coverity #823 & 824)Alan Coopersmith1-0/+2
Free Xkb keyboard description when done with it (Coverity #825)
2005-11-20Fix typo in #define that caused Xprint support to not be built in modularXORG-6_8_99_903Alan Coopersmith1-1/+1
tree.
2005-08-29Add config.h inclusion, defines based on autoconf header checks.XORG-6_8_99_902XORG-6_8_99_901Daniel Stone1-0/+28
2005-03-20//bugs.freedesktop.org/show_bug.cgi?id=2258) attachment #2166sco_port_update-baseXORG-6_8_99_900XORG-6_8_99_9XORG-6_8_99_8XORG-6_8_99_7XORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4XORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_16XORG-6_8_99_15XORG-6_8_99_14XORG-6_8_99_13XORG-6_8_99_12XORG-6_8_99_11XORG-6_8_99_10XORG-6_8_99_1Roland Mainz1-1/+3
(https://bugs.freedesktop.org/attachment.cgi?id=2166) "xset q" (query) should not print an error message ('Xlib: extension "XFree86-Misc" missing on display ":35.0".') when the "XFree86-Misc" is not available on the Xserver.
2004-10-17Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=1659 - FixRoland Mainz1-10/+10
Imakefile bug which caused the Xprint support in "xset" not being build.
2004-09-02Clean up defines for Xprint support and fix BuildServersOnly build forrel-0-6-1XORG-6_8_1XORG-6_8_0XORG-6_7_99_904Kevin E Martin1-3/+3
libXaw.
2004-08-16As discussed and agreed on on the release-wranglers meeting of August 16,XORG-6_7_99_903XORG-6_7_99_902XORG-6_7_99_901Kristian Høgsberg1-0/+6
I'm committing the patch from bug #1060 to back out unconditional Xprint functionality. Back out Xprint changes. Revert xman to CVS of June 5, revert xlogo to CVS of May 8, revert xedit to CVS of April 25, to back out unconditional Xprint support. Fix up Xprint config logic to be like the rest of the extensions: BuildXprint is a one-stop option for disabling everything Xprint related. XprtServer controls building Xprt, BuildXprintLib controls building Xprint libs and BuildXprintClients controls building clients related to Xprint. BuiltXprint defaults to YES and the other options respects relevant settings, i.e. BuildServer and BuildServersOnly. Build Xaw regardless of BuildXprintLib setting. Only build xphelloworld, xplsprinters and xprehashprinterlist when BuildXprintClients it YES. Disable building xmore, it has always supported XawPrintShell. Make Xprint support depend on BuildXprintLib.
2004-05-05Fix for http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=597 -XACE-SELINUX-MERGERoland Mainz1-0/+11
"xset" should have an option to rehash the list of available printers
2004-04-23Merging XORG-CURRENT into trunkEgbert Eich1-1/+1
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich1-1/+1
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich1-1/+1
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich1-1/+1
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich1-1/+1
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_903_specialxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16xf86-012804-2330Kaleb Keithley1-5/+7
2003-11-14XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1Kaleb Keithley1-86/+424
2003-11-14R6.6 is the Xorg base-lineXORG-MAINXORG-STABLEKaleb Keithley1-0/+1233