Skip to content

Commit

Permalink
Add Q_ENUM for KWin::WindowType for KWin 5.27
Browse files Browse the repository at this point in the history
  • Loading branch information
matinlotfali committed Jul 29, 2024
1 parent 51b08d9 commit e469b24
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Window.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ namespace ShapeCorners {
bool isIncluded;
bool isExcluded;

#if QT_VERSION_MAJOR < 6
Q_ENUM(KWin::WindowType);
#endif

/**
* \brief Used only for its `palette()` function which holds the currently active highlight colors.
*/
Expand Down

0 comments on commit e469b24

Please sign in to comment.