Compare commits
No commits in common. "d55753ab2806bc093aa5f920f5e456fff2b0df15" and "f34f3f2f4e24dd5850d1a2a9ad752cf80ec45174" have entirely different histories.
d55753ab28
...
f34f3f2f4e
3 changed files with 1 additions and 13 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
craneLib,
|
craneLib,
|
||||||
mold,
|
|
||||||
pkg-config,
|
pkg-config,
|
||||||
qt6,
|
qt6,
|
||||||
writeShellScript,
|
writeShellScript,
|
||||||
|
|
@ -68,7 +67,6 @@ let
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
mold
|
|
||||||
qt6.qtbase
|
qt6.qtbase
|
||||||
qt6.qtdeclarative
|
qt6.qtdeclarative
|
||||||
];
|
];
|
||||||
|
|
@ -81,12 +79,8 @@ let
|
||||||
|
|
||||||
# qt6.qtbase's setup hook overrides QMAKE after derivation attrs are set,
|
# qt6.qtbase's setup hook overrides QMAKE after derivation attrs are set,
|
||||||
# so re-assert it in preBuild which runs after all setup hooks.
|
# so re-assert it in preBuild which runs after all setup hooks.
|
||||||
# Force mold as the linker (cxx-qt book deprecates ld.gold). Setting via
|
|
||||||
# CARGO_TARGET_*_LINKER + RUSTFLAGS is the only path that survives nixpkgs'
|
|
||||||
# cc-wrapper - `-fuse-ld=` from build.rs gets eaten by the wrapper.
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
export QMAKE=${qmakeWrapper}
|
export QMAKE=${qmakeWrapper}
|
||||||
export RUSTFLAGS="-C link-arg=-fuse-ld=mold ''${RUSTFLAGS:-}"
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,13 +11,8 @@ PanelWindow {
|
||||||
visible: _winVisible
|
visible: _winVisible
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
||||||
// Mirror of `screen` captured at construction. Reading `root.screen`
|
|
||||||
// directly in `_shown` couples it to visibility transitions (PanelWindow
|
|
||||||
// re-evaluates `screen` when mapped/unmapped), which feeds back into
|
|
||||||
// `_shown` via `_winVisible` and trips a binding loop.
|
|
||||||
property var assignedScreen: null
|
|
||||||
property bool _winVisible: false
|
property bool _winVisible: false
|
||||||
property bool _shown: M.TooltipState.visible && M.TooltipState.screen === assignedScreen
|
property bool _shown: M.TooltipState.visible && M.TooltipState.screen === root.screen
|
||||||
|
|
||||||
on_ShownChanged: {
|
on_ShownChanged: {
|
||||||
if (_shown) {
|
if (_shown) {
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@ ShellRoot {
|
||||||
|
|
||||||
Tooltip {
|
Tooltip {
|
||||||
screen: scope.modelData
|
screen: scope.modelData
|
||||||
assignedScreen: scope.modelData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
LazyLoader {
|
LazyLoader {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue