mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-08 02:54:56 -06:00
CtrlCore: Gtk3 LXDesktop fix
git-svn-id: svn://ultimatepp.org/upp/trunk@15063 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7920080ac7
commit
b1abcff44d
1 changed files with 4 additions and 5 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue