833c52e642afbf6a5a95a078580a0fbce118848f

Author
myamusashi <jinxprogilang@gmail.com>
Committer
outfoxxed <outfoxxed@outfoxxed.me>
Date

Message

Remove the size argument from sendWindowSize & update flake.lock

Diff

 1diff --git a/flake.lock b/flake.lock
 2index c7799c567c07a6d4d1af742b696a2fd244fd3661..bf30e24e02090ca77cab4f10bbce2dd4d177f2f1 100644
 3--- a/flake.lock
 4+++ b/flake.lock
 5@@ -145,17 +145,17 @@
 6         "xdph": "xdph"
 7       },
 8       "locked": {
 9-        "lastModified": 1738622170,
10-        "narHash": "sha256-M9lm/lbT10cOXcfMMEzRFLehDlVWnkiy38xVDPWyqk4=",
11+        "lastModified": 1738840864,
12+        "narHash": "sha256-tMPkXvAPIbJp8UhuAQ9ONSDFj3yYbP5gZWK2Sv7JWCI=",
13         "owner": "hyprwm",
14         "repo": "Hyprland",
15-        "rev": "5e7292434a9189d0550187f8a6fb687848194a41",
16+        "rev": "ff9e059de6dd30c813270ff5a74053339cc94765",
17         "type": "github"
18       },
19       "original": {
20         "owner": "hyprwm",
21         "repo": "Hyprland",
22-        "rev": "5e7292434a9189d0550187f8a6fb687848194a41",
23+        "rev": "ff9e059de6dd30c813270ff5a74053339cc94765",
24         "type": "github"
25       }
26     },
27diff --git a/flake.nix b/flake.nix
28index 9cfe167a7e7b9935ca521551fcb99f1711ffa6ff..73a3e95534adbaea9acdd7e461f6bbfde5ed177d 100644
29--- a/flake.nix
30+++ b/flake.nix
31@@ -1,6 +1,6 @@
32 {
33   inputs = {
34-    hyprland.url = "github:hyprwm/Hyprland?rev=5e7292434a9189d0550187f8a6fb687848194a41";
35+    hyprland.url = "github:hyprwm/Hyprland?rev=ff9e059de6dd30c813270ff5a74053339cc94765";
36   };
37 
38   outputs = { self, hyprland, ... }: let
39diff --git a/src/Hy3Layout.cpp b/src/Hy3Layout.cpp
40index 70d3dd2e90bd9d7d07065731a1bd092315d312c9..bc5d85907d5ce342b9b53c8c51f2f063c3621043 100644
41--- a/src/Hy3Layout.cpp
42+++ b/src/Hy3Layout.cpp
43@@ -1684,7 +1684,7 @@ void Hy3Layout::applyNodeDataToWindow(Hy3Node* node, bool no_animation) {
44 		*window->m_vRealPosition = window->m_vPosition + reserved.topLeft;
45 		*window->m_vRealSize = window->m_vSize - (reserved.topLeft + reserved.bottomRight);
46 
47-		window->sendWindowSize(window->m_vRealSize->goal());
48+		window->sendWindowSize(true);
49 	} else {
50 		auto reserved = window->getFullWindowReservedArea();
51 		auto wb = node->getStandardWindowArea({-reserved.topLeft, -reserved.bottomRight});
52@@ -1692,7 +1692,7 @@ void Hy3Layout::applyNodeDataToWindow(Hy3Node* node, bool no_animation) {
53 		*window->m_vRealPosition = wb.pos();
54 		*window->m_vRealSize = wb.size();
55 
56-		window->sendWindowSize(wb.size());
57+		window->sendWindowSize(true);
58 
59 		if (no_animation) {
60 			g_pHyprRenderer->damageWindow(window);