mirror of
https://github.com/electron/electron.git
synced 2026-02-17 18:41:39 -05:00
Fix the black devtools view.
Without using UnderlayOpenGLHostingWindow the devtools view would just be black.
This commit is contained in:
@@ -7,10 +7,12 @@
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#import "ui/base/cocoa/underlay_opengl_hosting_window.h"
|
||||
|
||||
// Override NSWindow to access unhandled keyboard events (for command
|
||||
// processing); subclassing NSWindow is the only method to do
|
||||
// this.
|
||||
@interface AtomEventProcessingWindow : NSWindow {
|
||||
@interface AtomEventProcessingWindow : UnderlayOpenGLHostingWindow {
|
||||
@private
|
||||
BOOL redispatchingEvent_;
|
||||
BOOL eventHandled_;
|
||||
|
||||
Reference in New Issue
Block a user