1. 27 Mar, 2017 1 commit
  2. 04 Jan, 2017 1 commit
    • Mihail Konev's avatar
      xkb: Match key releases with an overlaid press · 9d32b71c
      Mihail Konev authored
      Testcase:
      
      In ~/.xbindkeysrc:
        "xterm &"
             XF86LaunchA
      
      In ~/ov.xkb:
        xkb_keymap {
            xkb_keycodes { include "evdev" };
            xkb_types    { include "complete" };
            xkb_compat   { include "complete"
                interpret Overlay1_Enable+AnyOfOrNone(all) {
                    action= SetControls(controls=Overlay1);
                };
            };
            xkb_symbols  { include "pc+inet(evdev)+us"
                key <INS> { [ Overlay1_Enable ] };
                key <AE01> { overlay1 = <AE02> }; // Insert+1 => 2
                key <TLDE> { overlay1 = <I128> }; // Insert+~ => XF86LaunchA
            };
            xkb_geometry { include "pc(pc104)" };
        };
      
      Apply this layout: 'xkbcomp ~/ov.xkb $DISPLAY'.
      Run "xbindkeys -n -v"
      In the exact order:
      - press Insert
      - press Tilde
      - release Insert
      - wait
      - release Tilde
      Keyboard input in the new terminal window(s) would be locked
      until another Insert+Tilde .
      Reported-by: Mariusz Mazur's avatarMariusz Mazur <mariusz.g.mazur@gmail.com>
      Signed-off-by: default avatarMihail Konev <k.mvc@ya.ru>
      Reviewed-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      9d32b71c
  3. 30 Nov, 2015 1 commit
  4. 12 Nov, 2014 1 commit
  5. 18 Mar, 2014 1 commit
  6. 04 Feb, 2014 1 commit
  7. 12 Jan, 2014 2 commits
  8. 02 Jul, 2013 1 commit
  9. 10 May, 2013 2 commits
  10. 06 May, 2013 1 commit
    • Peter Hutterer's avatar
      xkb: free XkbRulesUsed and XkbRulesDflt on extension cleanup · 6f44d672
      Peter Hutterer authored
      ==2547== 1 bytes in 1 blocks are still reachable in loss record 1 of 111
      ==2547==    at 0x4C2A4CD: malloc (vg_replace_malloc.c:236)
      ==2547==    by 0x64D1551: strdup (strdup.c:43)
      ==2547==    by 0x4802FB: Xstrdup (utils.c:1113)
      ==2547==    by 0x585B6C: XkbSetRulesUsed (xkbInit.c:219)
      ==2547==    by 0x58700F: InitKeyboardDeviceStruct (xkbInit.c:595)
      ==2547==    by 0x419FA3: vfbKeybdProc (InitInput.c:74)
      ==2547==    by 0x425A3D: ActivateDevice (devices.c:540)
      ==2547==    by 0x425F65: InitAndStartDevices (devices.c:713)
      ==2547==    by 0x5ACA57: main (main.c:259)
      
      and a few more of the above.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      Reviewed-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      6f44d672
  11. 21 Mar, 2012 1 commit
    • Keith Packard's avatar
      Introduce a consistent coding style · 9838b703
      Keith Packard authored
      This is strictly the application of the script 'x-indent-all.sh'
      from util/modular. Compared to the patch that Daniel posted in
      January, I've added a few indent flags:
      
      	-bap
      	-psl
      	-T PrivatePtr
      	-T pmWait
      	-T _XFUNCPROTOBEGIN
      	-T _XFUNCPROTOEND
      	-T _X_EXPORT
      
      The typedefs were needed to make the output of sdksyms.sh match the
      previous output, otherwise, the code is formatted badly enough that
      sdksyms.sh generates incorrect output.
      
      The generated code was compared with the previous version and found to
      be essentially identical -- "assert" line numbers and BUILD_TIME were
      the only differences found.
      
      The comparison was done with this script:
      
      dir1=$1
      dir2=$2
      
      for dir in $dir1 $dir2; do
      	(cd $dir && find . -name '*.o' | while read file; do
      		dir=`dirname $file`
      		base=`basename $file .o`
      		dump=$dir/$base.dump
      		objdump -d $file > $dump
      	done)
      done
      
      find $dir1 -name '*.dump' | while read dump; do
      	otherdump=`echo $dump | sed "s;$dir1;$dir2;"`
      	diff -u $dump $otherdump
      done
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Acked-by: Daniel Stone's avatarDaniel Stone <daniel@fooishbar.org>
      Acked-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      9838b703
  12. 23 Nov, 2011 2 commits
  13. 15 Feb, 2011 1 commit
  14. 11 Jun, 2010 1 commit
  15. 06 Jun, 2010 1 commit
  16. 03 Jun, 2010 1 commit
    • Jamey Sharp's avatar
      Move each screen's root-window pointer into ScreenRec. · e7fae9ec
      Jamey Sharp authored
      Many references to the WindowTable array already had the corresponding
      screen pointer handy, which meant they usually looked like
      "WindowTable[pScreen->myNum]". Adding a field to ScreenRec instead of
      keeping this information in a parallel array simplifies those
      expressions, and eliminates a MAXSCREENS-sized array.
      
      Since dix uses this data, a screen private entry isn't appropriate.
      
      xf86-video-dummy currently uses WindowTable, so it needs to be updated
      to reflect this change.
      Signed-off-by: Jamey Sharp's avatarJamey Sharp <jamey@minilop.net>
      Reviewed-by: default avatarTiago Vignatti <tiago.vignatti@nokia.com>
      Tested-by: Tiago Vignatti <tiago.vignatti@nokia.com> (i686 GNU/Linux)
      e7fae9ec
  17. 12 May, 2010 1 commit
  18. 02 Feb, 2010 1 commit
  19. 20 Oct, 2009 1 commit
  20. 15 Jul, 2009 1 commit
  21. 17 Jun, 2009 1 commit
  22. 16 May, 2009 1 commit
  23. 11 May, 2009 1 commit
  24. 09 May, 2009 1 commit
  25. 08 May, 2009 1 commit
  26. 30 Apr, 2009 1 commit
    • Peter Hutterer's avatar
      xkb: write the _XKB_RF_RULES_PROP to each device. · 876910a9
      Peter Hutterer authored
      We only have one root window and writing the rules used to the same property
      for each device is quite pointless if you don't have the same RMLVO on all
      devices. So let's be sensible and write the same property to the device too,
      so at least we know which device got loaded with which RMLVO.
      876910a9
  27. 20 Apr, 2009 1 commit
  28. 19 Apr, 2009 1 commit
  29. 17 Apr, 2009 2 commits
  30. 19 Feb, 2009 1 commit
  31. 04 Feb, 2009 1 commit
  32. 22 Jan, 2009 5 commits