403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/x11/aterm/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/x11/aterm/files/patch-fix_deadkeys
diff -urNad aterm-1.0.1~/src/command.c src/command.c
--- aterm-1.0.1~/src/command.c	2006-06-26 20:01:20.000000000 +0200
+++ src/command.c	2007-09-26 15:03:19.000000000 +0200
@@ -1486,19 +1486,21 @@
  	numlock_state = (ev->xkey.state & ModNumLockMask);	/* numlock toggle */
 	PrivMode((!numlock_state), PrivMode_aplKP);
     }
-#ifdef USE_XIM
+#if defined(USE_XIM) || !defined(NO_XLOCALE)
     len = 0;
-    if (Input_Context != NULL) {
-      Status          status_return;
+    if (!XFilterEvent(ev, *(&ev->xkey.window))) {
+        if (Input_Context != NULL) {
+            Status          status_return;
 
-      kbuf[0] = '\0';
-      len = XmbLookupString(Input_Context, &ev->xkey, kbuf,
-                          sizeof(kbuf), &keysym,
-                          &status_return);
-    } else {
-      len = XLookupString(&ev->xkey, kbuf,
-                        sizeof(kbuf), &keysym,
-                        &compose);
+            kbuf[0] = '\0';
+            len = XmbLookupString(Input_Context, &ev->xkey, kbuf,
+                    sizeof(kbuf), &keysym,
+                    &status_return);
+        } else {
+            len = XLookupString(&ev->xkey, kbuf,
+                    sizeof(kbuf), &keysym,
+                    &compose);
+        }
     }
 #else                         /* USE_XIM */
     len = XLookupString(&ev->xkey, (char *) kbuf, sizeof(kbuf), &keysym, &compose);

Youez - 2016 - github.com/yon3zu
LinuXploit