Opening a popup always raise it to the pop now.

[GB.GTK]
* BUG: Opening a popup always raises it to the pop now.

[GB.GTK3]
* BUG: Opening a popup always raises it to the pop now.
This commit is contained in:
gambas 2020-06-29 20:21:47 +02:00
parent dfd64cde24
commit 1783308623

View file

@ -882,6 +882,8 @@ void gMainWindow::showPopup(int x, int y)
move(x, y);
gtk_window_resize(GTK_WINDOW(border), bufW, bufH);
raise();
setFocus();
//reparent(NULL, x, y, GTK_WINDOW_POPUP);