diff --git a/haxe/ui/backend/ComponentImpl.hx b/haxe/ui/backend/ComponentImpl.hx index 0fbc9f3..2c0589d 100644 --- a/haxe/ui/backend/ComponentImpl.hx +++ b/haxe/ui/backend/ComponentImpl.hx @@ -565,7 +565,7 @@ class ComponentImpl extends ComponentBase { return; } - if (!Platform.isMac && (window is TransparentPanel)) { + if (!Platform.isMac && !Platform.isLinux && (window is TransparentPanel)) { if (style.hasBorder) { if (!_paintEventSet) { window.bind(EventType.PAINT, onWindowPaint);