core/window: ensure items are polished before setting window visible

Hacks around a bug in layouts that commonly results in popups being
wrongly sized for at least a frame.
This commit is contained in:
outfoxxed 2024-07-10 03:44:55 -07:00
parent db23c0264a
commit 497c9c4e50
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 15 additions and 1 deletions

View file

@ -37,7 +37,7 @@ qt_add_library(quickshell-core STATIC
set_source_files_properties(main.cpp PROPERTIES COMPILE_DEFINITIONS GIT_REVISION="${GIT_REVISION}")
qt_add_qml_module(quickshell-core URI Quickshell VERSION 0.1)
target_link_libraries(quickshell-core PRIVATE ${QT_DEPS})
target_link_libraries(quickshell-core PRIVATE ${QT_DEPS} Qt6::QuickPrivate)
qs_pch(quickshell-core)
target_link_libraries(quickshell PRIVATE quickshell-coreplugin)