Skip to content

Commit

Permalink
something that niksa hadn't pushed yet
Browse files Browse the repository at this point in the history
  • Loading branch information
zadjii-msft committed Mar 29, 2022
1 parent b742e93 commit e59afac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/interactivity/base/InteractivityFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,10 @@ using namespace Microsoft::Console::Interactivity;

// const auto windowStyle = (owner == HWND_DESKTOP) ? WS_OVERLAPPEDWINDOW : WS_CHILD;
const auto windowStyle = WS_OVERLAPPEDWINDOW;

const auto exStyles = WS_EX_TOOLWINDOW | WS_EX_TRANSPARENT | WS_EX_LAYERED;
// Attempt to create window
hwnd = CreateWindowExW(
WS_EX_TOOLWINDOW,
exStyles,
PSEUDO_WINDOW_CLASS,
nullptr,
windowStyle, //WS_CHILD, //WS_OVERLAPPEDWINDOW,
Expand All @@ -338,8 +338,8 @@ using namespace Microsoft::Console::Interactivity;
status = NTSTATUS_FROM_WIN32(gle);
}

BOOL const cloak = TRUE;
DwmSetWindowAttribute(hwnd, DWMWA_CLOAK, &cloak, sizeof(cloak));
/*BOOL const cloak = TRUE;
DwmSetWindowAttribute(hwnd, DWMWA_CLOAK, &cloak, sizeof(cloak));*/

break;
}
Expand Down

0 comments on commit e59afac

Please sign in to comment.