Skip to content

Commit

Permalink
Revert "fix(window/win.cc): handle closable and non-resiable"
Browse files Browse the repository at this point in the history
This reverts commit a99f660.
  • Loading branch information
jwerle committed Nov 5, 2024
1 parent a99f660 commit 6dbb81b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/window/win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -668,8 +668,6 @@ namespace SSC {
if (!options.resizable) {
style &= ~(WS_CAPTION | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_SYSMENU);
style &= ~(WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE | WS_EX_STATICEDGE);
} else if (options.closable && !options.frameless) {
style |= WS_CAPTION | WS_SYSMENU;
}

this->window = CreateWindowEx(
Expand Down

0 comments on commit 6dbb81b

Please sign in to comment.