mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JBR-1976 [jcef] need mouse-transparent window on Windows
(cherry picked from commit b60fac96b4)
This commit is contained in:
committed by
alexey.ushakov@jetbrains.com
parent
223e41508f
commit
e741a4dd77
@@ -1103,6 +1103,9 @@ AwtWindow* AwtWindow::Create(jobject self, jobject parent)
|
||||
if (env->ExceptionCheck()) goto done;
|
||||
DWORD style = WS_CLIPCHILDREN | WS_POPUP;
|
||||
DWORD exStyle = WS_EX_NOACTIVATE;
|
||||
if (JNU_CallMethodByName(env, NULL, target, "isIgnoreMouseEvents", "()Z").z) {
|
||||
exStyle |= WS_EX_LAYERED | WS_EX_TRANSPARENT;
|
||||
}
|
||||
if (GetRTL()) {
|
||||
exStyle |= WS_EX_RIGHT | WS_EX_LEFTSCROLLBAR;
|
||||
if (GetRTLReadingOrder())
|
||||
|
||||
Reference in New Issue
Block a user