Always consume the hotkey, even if the hotkey associated engine already activated.
authorPeng Huang <shawn.p.huang@gmail.com>
Wed, 20 Oct 2010 11:53:36 +0000 (20:53 +0900)
committerPeng Huang <shawn.p.huang@gmail.com>
Wed, 20 Oct 2010 11:53:36 +0000 (20:53 +0900)
BUG=6376
TEST=manual

Review URL: http://codereview.appspot.com/2596042

bus/ibusimpl.c

index 877f382b8d16166fc5eb83f36cac6311f14f5fb4..13d3a4f0422f38e9275a2911e36d0cdf6de920a8 100644 (file)
@@ -1928,8 +1928,9 @@ bus_ibus_impl_filter_keyboard_shortcuts (BusIBusImpl     *ibus,
 
         if (current_engine_desc != new_engine_desc) {
             bus_ibus_impl_set_context_engine_from_desc (ibus, context, new_engine_desc);
-            return TRUE;
         }
+
+        return TRUE;
     }
 
     return FALSE;