mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-09 12:45:00 +00:00
remove swapandfocusdir from stale folder
export swapandfocusdir with `git format-patch`
This commit is contained in:
parent
4bbfadfb33
commit
052a7fd7b0
@ -1,12 +0,0 @@
|
||||
### Description
|
||||
Focus the window (floating or no) to the left, right, above, or below the current focused window.
|
||||
|
||||
Swap the focused window with the window (no floating) to the left, right, above, or below.
|
||||
|
||||
**NOTE:** this patch uses the same algorithm that River uses to select the window in the given direction.
|
||||
|
||||
### Download
|
||||
- [2023-11-24](https://github.com/djpohly/dwl/compare/main...wochap:swapandfocusdir.patch)
|
||||
|
||||
### Authors
|
||||
- [wochap](https://github.com/wochap)
|
@ -1,3 +1,18 @@
|
||||
From d224594e8f077ac49a1369670f6ff6a5d27ec75a Mon Sep 17 00:00:00 2001
|
||||
From: wochap <gean.marroquin@gmail.com>
|
||||
Date: Tue, 5 Mar 2024 23:50:01 -0500
|
||||
Subject: [PATCH] implement swap and focus direction functions
|
||||
|
||||
you should expect the same behavior as in river wm,
|
||||
|
||||
swap only works on tiling windows
|
||||
focus works on tiling and floating windows
|
||||
---
|
||||
Makefile | 2 +-
|
||||
config.def.h | 8 +++
|
||||
dwl.c | 163 +++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
3 files changed, 172 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 6cde460..22f4372 100644
|
||||
--- a/Makefile
|
||||
@ -225,4 +240,6 @@ index ef27a1d..8d3540e 100644
|
||||
/* We probably should change the name of this, it sounds like
|
||||
* will focus the topmost client of this mon, when actually will
|
||||
* only return that client */
|
||||
--
|
||||
2.42.0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user