diff --git a/uppsrc/CtrlCore/X11Clip.cpp b/uppsrc/CtrlCore/X11Clip.cpp index a5e8eea49..91452884b 100644 --- a/uppsrc/CtrlCore/X11Clip.cpp +++ b/uppsrc/CtrlCore/X11Clip.cpp @@ -2,7 +2,7 @@ NAMESPACE_UPP -#define LLOG(x) LOG(x) +#define LLOG(x) // LOG(x) #ifdef PLATFORM_X11 diff --git a/uppsrc/CtrlLib/LineEdit.cpp b/uppsrc/CtrlLib/LineEdit.cpp index 603beb738..3749a3bcb 100644 --- a/uppsrc/CtrlLib/LineEdit.cpp +++ b/uppsrc/CtrlLib/LineEdit.cpp @@ -446,7 +446,7 @@ void LineEdit::LeftTriple(Point, dword) void LineEdit::MouseMove(Point p, dword flags) { if((flags & K_MOUSELEFT) && HasFocus() && HasCapture()) { int c = GetMousePos(p); - PlaceCaret(c, mpos != c); + PlaceCaret(c, mpos != c || HasCapture()); } }