Skip to content

Commit

Permalink
Merge branch 'dev' into alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
larc committed Nov 16, 2023
2 parents cb5d967 + 4a98cd9 commit 94e4828
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gproshan/viewer/viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,9 @@ bool viewer::m_close(viewer * view)

bool viewer::m_maximize(viewer * view)
{
glfwMaximizeWindow(view->window);
GLFWmonitor * monitor = glfwGetPrimaryMonitor();
const GLFWvidmode * mode = glfwGetVideoMode(monitor);
glfwSetWindowSize(view->window, mode->width, mode->height);
return false;
}

Expand Down

0 comments on commit 94e4828

Please sign in to comment.