add fallback xres for text field translations and some pathbar tweaks
authorOlaf Wintermann <olaf.wintermann@gmail.com>
Thu, 6 Jan 2022 09:22:18 +0000 (10:22 +0100)
committerOlaf Wintermann <olaf.wintermann@gmail.com>
Thu, 6 Jan 2022 09:22:18 +0000 (10:22 +0100)
application/main.c

index 60fa8b9..440a3f4 100644 (file)
@@ -38,6 +38,20 @@ static String fallback[] = {
         "*rt*fontType: FONT_IS_XFT",
         "*rt*fontName: Sans",
         "*rt*fontSize: 9",
+        
+        "*pbbutton.shadowThickness: 1",
+        "*pbbutton.highlightThickness: 1",
+    
+        "*XmText.baseTranslations: #override\\n" \
+                                "Ctrl~Alt~Meta<KeyPress>v: paste-clipboard()\\n" \
+                                "Ctrl~Alt~Meta<KeyPress>c: copy-clipboard()\\n" \
+                                "Ctrl~Alt~Meta<KeyPress>x: cut-clipboard()\\n" \
+                                "Ctrl~Alt~Meta<KeyPress>u: delete-to-start-of-line()\\n",
+        "*XmTextField.baseTranslations: #override\\n" \
+                                "Ctrl~Alt~Meta<KeyPress>v: paste-clipboard()\\n" \
+                                "Ctrl~Alt~Meta<KeyPress>c: copy-clipboard()\\n" \
+                                "Ctrl~Alt~Meta<KeyPress>x: cut-clipboard()\\n" \
+                                "Ctrl~Alt~Meta<KeyPress>u: delete-to-start-of-line()\\n",
        NULL
 };