forked from github_mirror/framelesshelper
misc: minor format changes
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
parent
079c8ff6b6
commit
45ebbee471
|
@ -169,6 +169,7 @@ template<typename T>
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
|
||||||
[[nodiscard]] static inline Display *x11_get_display()
|
[[nodiscard]] static inline Display *x11_get_display()
|
||||||
{
|
{
|
||||||
if (!qGuiApp) {
|
if (!qGuiApp) {
|
||||||
|
@ -270,7 +271,6 @@ static inline void x11_emulateButtonRelease(const WId windowId, const QPoint &gl
|
||||||
XFlush(display);
|
XFlush(display);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
|
|
||||||
static inline void x11_moveOrResizeWindow(const WId windowId, const QPoint &pos, const int section)
|
static inline void x11_moveOrResizeWindow(const WId windowId, const QPoint &pos, const int section)
|
||||||
{
|
{
|
||||||
Q_ASSERT(windowId);
|
Q_ASSERT(windowId);
|
||||||
|
|
Loading…
Reference in New Issue