890443f504419ec12c7591f7ef17cbea9d34c9ca

Author
outfoxxed <outfoxxed@outfoxxed.me>
Committer
outfoxxed <outfoxxed@outfoxxed.me>
Date

Message

Remove patches for tabs with hyprland#4992

Diff

 1diff --git a/flake.lock b/flake.lock
 2index cbaba3e4c1adecd0a9372b6df2cccff8a53ca3bd..6695ff81bfc111ab4cfcc2e1e9790cb66212df7e 100644
 3--- a/flake.lock
 4+++ b/flake.lock
 5@@ -10,11 +10,11 @@
 6         "xdph": "xdph"
 7       },
 8       "locked": {
 9-        "lastModified": 1709339717,
10-        "narHash": "sha256-VXh6tiY1+Tmaz+dgUNE5IpWaFq4wbf/iCTHclGm33vA=",
11+        "lastModified": 1709720053,
12+        "narHash": "sha256-hR0RSeqFOXCggqbGhkFZT3ZAbGc2cAoeeyXU3V5J4hU=",
13         "owner": "hyprwm",
14         "repo": "Hyprland",
15-        "rev": "b2c34404777ea0850f90f4c38f64484f03599d14",
16+        "rev": "d6f1b151b2fe85ffbb131cbdd05acefc6a357e81",
17         "type": "github"
18       },
19       "original": {
20@@ -53,14 +53,18 @@
21         "nixpkgs": [
22           "hyprland",
23           "nixpkgs"
24+        ],
25+        "systems": [
26+          "hyprland",
27+          "systems"
28         ]
29       },
30       "locked": {
31-        "lastModified": 1708005943,
32-        "narHash": "sha256-9TT3xk++LI5/SPYgjYX34xZ4ebR93c1uerIq+SE/ues=",
33+        "lastModified": 1708787654,
34+        "narHash": "sha256-7ACgM3ZuAhPqurXHUvR2nWMRcnmzGGPjLK6q4DSTelI=",
35         "owner": "hyprwm",
36         "repo": "hyprlang",
37-        "rev": "aeb3e012adc7b3235335c540b214b82267c2b983",
38+        "rev": "0fce791ba2334aca183f2ed42399518947550d0d",
39         "type": "github"
40       },
41       "original": {
42@@ -71,11 +75,11 @@
43     },
44     "nixpkgs": {
45       "locked": {
46-        "lastModified": 1709479366,
47-        "narHash": "sha256-n6F0n8UV6lnTZbYPl1A9q1BS0p4hduAv1mGAP17CVd0=",
48+        "lastModified": 1708807242,
49+        "narHash": "sha256-sRTRkhMD4delO/hPxxi+XwLqPn8BuUq6nnj4JqLwOu0=",
50         "owner": "NixOS",
51         "repo": "nixpkgs",
52-        "rev": "b8697e57f10292a6165a20f03d2f42920dfaf973",
53+        "rev": "73de017ef2d18a04ac4bfd0c02650007ccb31c2a",
54         "type": "github"
55       },
56       "original": {
57@@ -144,11 +148,11 @@
58         ]
59       },
60       "locked": {
61-        "lastModified": 1706521509,
62-        "narHash": "sha256-AInZ50acOJ3wzUwGzNr1TmxGTMx+8j6oSTzz4E7Vbp8=",
63+        "lastModified": 1708696469,
64+        "narHash": "sha256-shh5wmpeYy3MmsBfkm4f76yPsBDGk6OLYRVG+ARy2F0=",
65         "owner": "hyprwm",
66         "repo": "xdg-desktop-portal-hyprland",
67-        "rev": "c06fd88b3da492b8f9067be021b9184f7012b5a8",
68+        "rev": "1b713911c2f12b96c2574474686e4027ac4bf826",
69         "type": "github"
70       },
71       "original": {
72diff --git a/src/TabGroup.cpp b/src/TabGroup.cpp
73index c79d089aca2ca513862a38d2774c1584a5a0ff57..d400f04d9ab5d02ce8ea037f772bee265779a72b 100644
74--- a/src/TabGroup.cpp
75+++ b/src/TabGroup.cpp
76@@ -53,11 +53,6 @@ Hy3TabBarEntry::Hy3TabBarEntry(Hy3TabBar& tab_bar, Hy3Node& node): tab_bar(tab_b
77 	    AVARDAMAGE_NONE
78 	);
79 
80-	// !!! Can be removed after hyprland#4992
81-	this->offset = -1.0f;
82-	this->width = -1.0f;
83-	this->vertical_pos = 1.0f;
84-
85 	this->focused.registerVar();
86 	this->urgent.registerVar();
87 	this->offset.registerVar();
88@@ -283,9 +278,6 @@ Hy3TabBar::Hy3TabBar() {
89 	    AVARDAMAGE_NONE
90 	);
91 
92-	// !!! Can be removed after hyprland#4992
93-	this->fade_opacity = 1.0f;
94-
95 	this->fade_opacity.registerVar();
96 	this->fade_opacity.setUpdateCallback([this](void*) { this->dirty = true; });
97 }