Update tracked hyprland

This commit is contained in:
outfoxxed 2023-06-14 21:43:20 -07:00
parent 56de6b5c48
commit 6643cbb6d4
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
3 changed files with 16 additions and 15 deletions

21
flake.lock generated
View file

@ -8,17 +8,16 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1685907323, "lastModified": 1686764691,
"narHash": "sha256-P6GbgWE72pLEhyI8+Bofzph0boZItKUDM/94xwOgE8I=", "narHash": "sha256-H4Pd2ny0euUNqYAQEi4ZQhbgUCBXarceOokNnjGcUSE=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "4ef684f6153c167afd6e84c01a814f46d9f287ae", "rev": "c4dec4f79697cb789b585f8e4febf92e929b5291",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "outfoxxed", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "51441d5b9de13335e5723cdbb78e372ebe36490e",
"type": "github" "type": "github"
} }
}, },
@ -45,11 +44,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1685655444, "lastModified": 1686501370,
"narHash": "sha256-6EujQNAeaUkWvpEZZcVF8qSfQrNVWFNNGbUJxv/A5a8=", "narHash": "sha256-G0WuM9fqTPRc2URKP9Lgi5nhZMqsfHGrdEbrLvAPJcg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e635192892f5abbc2289eaac3a73cdb249abaefd", "rev": "75a5ebf473cd60148ba9aec0d219f72e5cf52519",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -68,11 +67,11 @@
"flake": false, "flake": false,
"locked": { "locked": {
"host": "gitlab.freedesktop.org", "host": "gitlab.freedesktop.org",
"lastModified": 1685803001, "lastModified": 1686573751,
"narHash": "sha256-yxq/U9zL1ssFZtgT27A96UKteCiKb3zSmbA/dokK76U=", "narHash": "sha256-5vnFxEMvn4wzT+XKR5Jo8VSn1hXrdf/mWuTmdHhRFBs=",
"owner": "wlroots", "owner": "wlroots",
"repo": "wlroots", "repo": "wlroots",
"rev": "b61d5922f1d0910a848deb100570ad8587aea38d", "rev": "6e8fb5509f2c94d09d4efa0f9b1f40b37bf73863",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {

View file

@ -1,7 +1,6 @@
{ {
inputs = { inputs = {
#hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
hyprland.url = "github:outfoxxed/Hyprland?rev=51441d5b9de13335e5723cdbb78e372ebe36490e";
}; };
outputs = { self, hyprland, ... }: let outputs = { self, hyprland, ... }: let
@ -42,7 +41,7 @@
name = "hy3"; name = "hy3";
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
clang-tools_16 clang-tools
bear bear
]; ];

View file

@ -196,8 +196,11 @@ void Hy3Node::recalcSizePosRecursive(bool force) {
double offset = 0; double offset = 0;
if (group->layout == Hy3GroupLayout::Tabbed && group->focused_child != nullptr) { if (group->layout == Hy3GroupLayout::Tabbed && group->focused_child != nullptr && !group->focused_child->hidden) {
group->focused_child->setHidden(false); group->focused_child->setHidden(false);
auto box = wlr_box { tpos.x, tpos.y, tsize.x, tsize.y };
g_pHyprRenderer->damageBox(&box);
} }
for (auto* child: group->children) { for (auto* child: group->children) {