Skip to content

Commit a209d82

Browse files
committed
experimental layout_center improvement
1 parent c2ca5d2 commit a209d82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyprland/plugins/layout_center.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ async def _sanity_check(self, clients: list[ClientInfo] | None = None) -> bool:
167167
async def _run_changefocus(self, direction: int, default_override: str | None = None) -> None:
168168
"""Change the focus in the given direction (-1 or 1)."""
169169
if self.enabled:
170-
clients = await self.get_clients()
170+
clients = [cli for cli in await self.get_clients() if not cli.get("floating") or cli["address"] == self.main_window_addr]
171171
if await self._sanity_check(clients):
172172
addresses = [c["address"] for c in clients]
173173
try:

pyprland/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Package version."""
22

3-
VERSION = "2.3.8"
3+
VERSION = "2.3.8-1"

0 commit comments

Comments
 (0)