Skip to content
Snippets Groups Projects
Commit b2a12a0a authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

force focus on OpenGL window when adding points
parent f2cde3ab
No related branches found
No related tags found
No related merge requests found
// $Id: Opengl.cpp,v 1.51 2005-03-11 08:56:38 geuzaine Exp $
// $Id: Opengl.cpp,v 1.52 2005-04-19 01:09:33 geuzaine Exp $
//
// Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
//
......@@ -211,6 +211,8 @@ char SelectEntity(int type, Vertex ** v, Curve ** c, Surface ** s)
int hits;
GLuint ii[SELECTION_BUFFER_SIZE], jj[SELECTION_BUFFER_SIZE];
WID->g_opengl_window->take_focus(); // force keyboard focus in GL window
WID->selection = type;
WID->try_selection = 0;
WID->quit_selection = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment