blob: 82d7cb0c9739471f5fa4c62e28108b99cbde4bb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Index: kdebase/kxkb/rules.cpp
===================================================================
--- kdebase/kxkb/rules.cpp (revision 481653)
+++ kdebase/kxkb/rules.cpp (working copy)
@@ -17,13 +17,13 @@
#include "rules.h"
-const char* X11DirList[2] = {"/usr/X11R6/lib/X11/", "/usr/local/X11R6/lib/X11/"};
+const char* X11DirList[3] = {"/usr/X11R6/lib/X11/", "/usr/local/X11R6/lib/X11/", "/usr/share/X11/"};
const char* rulesFileList[2] = {"xkb/rules/xorg", "xkb/rules/xfree86"};
KeyRules::KeyRules():
m_layouts(90)
{
- for(int ii=0; ii<2; ii++)
+ for(int ii=0; ii<3; ii++)
if( QDir(X11DirList[ii]).exists() ) {
X11_DIR = X11DirList[ii];
break;
|