Skip to content

Commit

Permalink
browser: allow maximise and minimise by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamcake committed Nov 23, 2024
1 parent 6b1208d commit 0bb1dba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/browser.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ bool Browser::Window::CanResize(CefRefPtr<CefWindow>) {
}

bool Browser::Window::CanMaximize(CefRefPtr<CefWindow>) {
return false;
return true;
}

bool Browser::Window::CanMinimize(CefRefPtr<CefWindow>) {
return false;
return true;
}

bool Browser::Window::CanClose(CefRefPtr<CefWindow> win) {
Expand Down

0 comments on commit 0bb1dba

Please sign in to comment.