Skip to content

Commit

Permalink
[MAC][LINUX]configured imgui windows to be moveable from title only
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffstadt committed Aug 13, 2020
1 parent 7c44143 commit a688abc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions DearPyGui/src/Platform/Apple/mvAppleWindow.mm
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ static void glfw_error_callback(int error, const char *description)
IMGUI_CHECKVERSION();
ImGui::CreateContext();
ImGuiIO &io = ImGui::GetIO();
io.ConfigWindowsMoveFromTitleBarOnly = true;
(void) io;
//io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard; // Enable Keyboard Controls
//io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad; // Enable Gamepad Controls
Expand Down
1 change: 1 addition & 0 deletions DearPyGui/src/Platform/Linux/mvLinuxWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ namespace Marvel {
IMGUI_CHECKVERSION();
ImGui::CreateContext();
ImGuiIO& io = ImGui::GetIO(); (void)io;
io.ConfigWindowsMoveFromTitleBarOnly = true;
//io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard; // Enable Keyboard Controls
//io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad; // Enable Gamepad Controls

Expand Down

0 comments on commit a688abc

Please sign in to comment.