-- 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: ba1f7705fb67474c56f7cfc9595e36a216b3691f:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

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

commit ba1f7705fb67474c56f7cfc9595e36a216b3691f
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   Fri May 2 20:35:00 2014 +0000

    Rename register_user_translation to register_action.

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

index 0a929856a76b666392f2fc075fec0c2bb8558a5e..

index ..300b173b4ec81b67eb4bd9682ae4a95ae40fe9b7 100644

--- a/src/keyboard.C
+++ b/src/keyboard.C
@@ -91,7 +91,7 @@ keyboard_manager::~keyboard_manager ()
 }

 void
-keyboard_manager::register_user_translation (KeySym keysym, unsigned int state, const wchar_t *ws)
+keyboard_manager::register_action (KeySym keysym, unsigned int state, const wchar_t *ws)
 {
   char *translation = rxvt_wcstoutf8 (ws);

diff --git a/src/keyboard.h b/src/keyboard.h

index ff8ff6b466592cec6499fd150bdd0006ae96ed7a..

index ..7d04d456039cd1bbb455a4a85c722e627ce15132 100644

--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -68,7 +68,7 @@ public:
   keyboard_manager ();
   ~keyboard_manager ();

-  void register_user_translation (KeySym keysym, unsigned int state, const wchar_t *ws);
+  void register_action (KeySym keysym, unsigned int state, const wchar_t *ws);
   void register_done ();        // call this to make newly registered key bindings take effect
   bool dispatch (rxvt_term *term, KeySym keysym, unsigned int state, const char *kbuf, int len);

diff --git a/src/rxvtperl.xs b/src/rxvtperl.xs

index 9746bf26b40be21adde79ea3ebdac15665155661..

index ..b79d4019fcf26795399d4eede398ce1e856240cc 100644

--- a/src/rxvtperl.xs
+++ b/src/rxvtperl.xs
@@ -1846,7 +1846,7 @@ void
 rxvt_term::register_command (int keysym, unsigned int state, SV *str)
         CODE:
         wchar_t *wstr = sv2wcs (str);
-        THIS->keyboard->register_user_translation (keysym, state, wstr);
+        THIS->keyboard->register_action (keysym, state, wstr);
         free (wstr);

 void
diff --git a/src/xdefaults.C b/src/xdefaults.C

index 4c94a381e16458f53e585f8cb7e532bf28c50a69..

index ..3140885a1e43c40a7fd3785c38707edb33dd95c6 100644

--- a/src/xdefaults.C
+++ b/src/xdefaults.C
@@ -744,7 +744,7 @@ rxvt_term::bind_action (const char *str, const char *arg)

   wchar_t *ws = rxvt_mbstowcs (arg);
   if (!HOOK_INVOKE ((this, HOOK_REGISTER_COMMAND, DT_INT, sym, DT_INT, state, DT_WCS_LEN, ws, wcslen (ws), DT_END)))
-    keyboard->register_user_translation (sym, state, ws);
+    keyboard->register_action (sym, state, ws);

   free (ws);
   return 1;

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

-- Response ended

-- Page fetched on Sun Jun 2 09:54:25 2024