[plasma/kwin] src/effect: Fix event type forward declarations
Vlad Zahorodnii <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 0c1b4ca0ac4bc01ec9d829fe896530a8664bc10d by Vlad Zahorodnii. Committed on 23/07/2026 at 08:27. Pushed by vladz into branch 'master'. Fix event type forward declarations These are structs. It fixes a lot of warnings when building kwin with clang. M +3 -3 src/effect/effect.h M +5 -5 src/effect/offscreenquickview.h https://invent.kde.org/plasma/kwin/-/commit/0c1b4ca0ac4bc01ec9d829fe896530a8664bc10d diff --git a/src/effect/effect.h b/src/effect/effect.h index 91c64215474..7bab42ad2da 100644 --- a/src/effect/effect.h +++ b/src/effect/effect.h @@ -23,10 +23,10 @@ namespace KWin class EffectWindow; class LogicalOutput; class PaintDataPrivate; -class PointerAxisEvent; +struct PointerAxisEvent; class RenderTarget; -class PointerButtonEvent; -class PointerMotionEvent; +struct PointerButtonEvent; +struct PointerMotionEvent; class RenderViewport; struct TabletToolProximityEvent; struct TabletToolTipEvent; diff --git a/src/effect/offscreenquickview.h b/src/effect/offscreenquickview.h index e15a224338a..11c0610c5a1 100644 --- a/src/effect/offscreenquickview.h +++ b/src/effect/offscreenquickview.h @@ -32,11 +32,11 @@ namespace KWin class GLTexture; class OffscreenQuickView; -class PointerAxisEvent; -class PointerButtonEvent; -class PointerMotionEvent; -class TabletToolTipEvent; -class TabletToolAxisEvent; +struct PointerAxisEvent; +struct PointerButtonEvent; +struct PointerMotionEvent; +struct TabletToolTipEvent; +struct TabletToolAxisEvent; class OutputFrame; /**