Skip to content

Commit 22ed91e

Browse files
committed
fix(SquirrelInputController): add back the Chrome address bar hack
Closes #299
1 parent fa30b42 commit 22ed91e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

SquirrelInputController.m

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,9 @@ -(void)deactivateServer:(id)sender
295295
-(void)commitComposition:(id)sender
296296
{
297297
//NSLog(@"commitComposition:");
298-
// The issue of address bar in Chrome does not exist anymore (version 47)
299-
// - FIXME: chrome's address bar issues this callback when showing suggestions.
300-
/* if ([[sender bundleIdentifier] isEqualToString:@"com.google.Chrome"])
301-
return; */
298+
// - FIXME: chrome's address bar issues this callback when showing suggestions.
299+
if ([[sender bundleIdentifier] isEqualToString:@"com.google.Chrome"])
300+
return;
302301
// force committing existing Rime composition
303302
if (_session && rime_get_api()->commit_composition(_session)) {
304303
[self rimeConsumeCommittedText];

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy