          nil]);
    }
    return validAttributesForMarkedText_.get();
-@@ -3221,6 +3241,10 @@ - (BOOL)readSelectionFromPasteboard:(NSPasteboard*)pboard {
+@@ -3225,6 +3245,10 @@ - (BOOL)readSelectionFromPasteboard:(NSPasteboard*)pboard {
  }
  
  - (BOOL)isOpaque {

   [cocoa_view_ setLayer:background_layer_];
   [cocoa_view_ setWantsLayer:YES];
 
@@ -1696,6 +1704,9 @@ - (BOOL)acceptsMouseEventsWhenInactive {
 }
 
 - (BOOL)acceptsFirstMouse:(NSEvent*)theEvent {

   return [self acceptsMouseEventsWhenInactive];
 }
 
@@ -1841,6 +1852,7 @@ - (BOOL)performKeyEquivalent:(NSEvent*)theEvent {
   if (EventIsReservedBySystem(theEvent))
     return NO;
 
