-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: fe6fe77d380e31a5cb80ef87cbc386c8585ec029:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit fe6fe77d380e31a5cb80ef87cbc386c8585ec029
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Sat Jun 30 18:10:41 2007 +0000

    experimental change for mappingnotify fix

diff --git a/src/command.C b/src/command.C

index 5fcd2f058e465783795a4168456bb1e987f2f85b..

index ..f5c2b4920174e42ec7f862dd502c445fc4ec8835 100644

--- a/src/command.C
+++ b/src/command.C
@@ -1437,10 +1437,6 @@ rxvt_term::x_cb (XEvent &ev)
           }
         break;

-      case MappingNotify:
-        XRefreshKeyboardMapping (&ev.xmapping);
-        break;
-
         /*
          * XXX: this is not the _current_ arrangement
          * Here's my conclusion:
diff --git a/src/rxvttoolkit.C b/src/rxvttoolkit.C

index 3fca776794b349ccfcefb6a635ba270c17e0a8d6..

index ..16ec56fabbc9d66bce7f0341ea6269c916fc7d76 100644

--- a/src/rxvttoolkit.C
+++ b/src/rxvttoolkit.C
@@ -561,6 +561,9 @@ void rxvt_display::x_cb (io_watcher &w, short revents)
               && xev.xproperty.atom == xa[XA_XIM_SERVERS])
             im_change_check ();
 #endif
+          if (xev.type == MappingNotify)
+            XRefreshKeyboardMapping (&xev.xmapping);
+
           for (int i = xw.size (); i--; )
             {
               if (!xw[i])

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 10:08:49 2024