CtrlCore: Gtk3 LXDesktop fix

git-svn-id: svn://ultimatepp.org/upp/trunk@15063 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-09-17 16:01:24 +00:00
parent 7920080ac7
commit b1abcff44d

View file

@ -4,7 +4,7 @@
namespace Upp {
#define LLOG(x) // DLOG(x)
#define LLOG(x) // DLOG(x)
void Ctrl::Create(Ctrl *owner, bool popup)
{
@ -72,19 +72,18 @@ void Ctrl::Create(Ctrl *owner, bool popup)
g_signal_connect(top->im_context, "commit", G_CALLBACK(IMCommit), (gpointer)(uintptr_t)top->id);
WndShow(IsShown());
SweepConfigure(true);
FocusSync();
if(!popup)
SetWndFocus();
SweepConfigure(true);
activeCtrl = this;
DndInit();
StateH(OPEN);
activeCtrl = this;
GdkModifierType mod;
Point m = GetMouseInfo(gdk(), mod);
r = GetWndScreenRect().GetSize();