mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: DesktopWindowTreeHostLinux becomes DesktopWindowTreeHostPlatform
Refs:
This commit is contained in:
committed by
deepak1556
parent
7f3c13de3f
commit
3fd0875d3d
@@ -453,7 +453,7 @@ void NativeWindowViews::SetEnabledInternal(bool enable) {
|
||||
#if defined(OS_WIN)
|
||||
::EnableWindow(GetAcceleratedWidget(), enable);
|
||||
#elif defined(USE_X11)
|
||||
views::DesktopWindowTreeHostLinux* tree_host =
|
||||
views::DesktopWindowTreeHostPlatform* tree_host =
|
||||
views::DesktopWindowTreeHostLinux::GetHostForWidget(
|
||||
GetAcceleratedWidget());
|
||||
if (enable) {
|
||||
|
||||
Reference in New Issue
Block a user