From 8602da19553fab6fbfdec9c083ea7108a3446a8b Mon Sep 17 00:00:00 2001 From: Ian Harrigan Date: Tue, 11 Jul 2023 19:19:55 +0200 Subject: [PATCH] dont create paint events for linux --- haxe/ui/backend/ComponentImpl.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);