mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 122000 - "Moz apps require restart to pick up highlight color changes in System Preferences" [r+sr=roc]
This commit is contained in:
parent
e60ac4ece4
commit
fcc3f291e9
@ -2249,9 +2249,13 @@ NSEvent* gLastDragEvent = nil;
|
||||
kCorePboardType_urln,
|
||||
nil]];
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
selector:@selector(controlTintChanged)
|
||||
selector:@selector(systemColorChanged)
|
||||
name:NSControlTintDidChangeNotification
|
||||
object:nil];
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
selector:@selector(systemColorChanged)
|
||||
name:NSSystemColorsDidChangeNotification
|
||||
object:nil];
|
||||
|
||||
return self;
|
||||
|
||||
@ -2323,7 +2327,7 @@ NSEvent* gLastDragEvent = nil;
|
||||
}
|
||||
|
||||
|
||||
- (void)controlTintChanged
|
||||
- (void)systemColorChanged
|
||||
{
|
||||
if (!mGeckoChild)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user