Skip to content

Commit

Permalink
Always consider platform supports compositing. Fix #2686 (#2688)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlaltca authored Nov 19, 2024
1 parent a344dbd commit 5fa6b75
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/kvirc/kernel/KviApplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -623,20 +623,7 @@ int KviApplication::getGloballyUniqueId()

bool KviApplication::supportsCompositing()
{
#if defined(COMPILE_ON_WINDOWS) || defined(COMPILE_ON_MINGW)
//we need >= win2000
return true;
#endif

#ifdef COMPILE_QX11INFO_SUPPORT
// Qt5 does not support QX11Info::isCompositingManagerRunning()
// Well...assume we're compositing capable, should be true on all recent Linux distros
return true;
#endif // COMPILE_QX11INFO_SUPPORT
#ifdef COMPILE_ON_MAC
return true;
#endif
return false;
};

void KviApplication::notifierMessage(KviWindow * pWnd, int iIconId, const QString & szMsg, unsigned int uMessageLifetime)
Expand Down

0 comments on commit 5fa6b75

Please sign in to comment.