remove swapandfocusdir from stale folder

export swapandfocusdir with `git format-patch`
This commit is contained in:
wochap 2024-03-08 13:29:29 -05:00
parent 4bbfadfb33
commit 052a7fd7b0
No known key found for this signature in database
GPG Key ID: FE4CF844E73095E1
2 changed files with 17 additions and 12 deletions

View File

@ -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)

View File

@ -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 diff --git a/Makefile b/Makefile
index 6cde460..22f4372 100644 index 6cde460..22f4372 100644
--- a/Makefile --- a/Makefile
@ -225,4 +240,6 @@ index ef27a1d..8d3540e 100644
/* We probably should change the name of this, it sounds like /* We probably should change the name of this, it sounds like
* will focus the topmost client of this mon, when actually will * will focus the topmost client of this mon, when actually will
* only return that client */ * only return that client */
--
2.42.0