summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhinav Prasai <72694427+uint23@users.noreply.github.com>2025-06-10 16:58:46 +0100
committerGitHub <noreply@github.com>2025-06-10 16:58:46 +0100
commita8124aeb8a2b2df12cc9b53781e4298105844b06 (patch)
treeecfd86310e137e6b6d7df8d7a90d594b5aa8de69
parent642f40f285e83af702578b43c1adf195e33b93bf (diff)
parent1be31b889cbb087ac2041b2a613dfddc0f98006c (diff)
Merge pull request #96 from RickConsole/main
-rw-r--r--CHANGELOG.md1
-rw-r--r--default_sxwmrc4
-rw-r--r--src/parser.c4
3 files changed, 7 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 70c8cc3..b8d5d86 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -27,6 +27,7 @@ All notable changes to this project will be documented in this file.
- **FIXED**: Invisible windows of minimized programs
- **FIXED**: Zombie processes spawned from apps
- **FIXED**: Undefined behaviour in `parse_col`
+- **FIXED**: Added monitor switching functions to call_table (#95)
#### v1.5 (current)
- **NEW**: Using XCursor instead of cursor font && new logo.
diff --git a/default_sxwmrc b/default_sxwmrc
index c0cb057..541afab 100644
--- a/default_sxwmrc
+++ b/default_sxwmrc
@@ -39,8 +39,8 @@ call : mod + comma : focus_prev_mon
call : mod + period : focus_next_mon
# Move Window Between Monitors:
-call : mod + shift + comma : swap_prev_mon
-call : mod + shift + period : swap_next_mon
+call : mod + shift + comma : move_prev_mon
+call : mod + shift + period : move_next_mon
# Master/Stack Movement
call : mod + shift + j : master_next
diff --git a/src/parser.c b/src/parser.c
index cb01d78..ebfe4ef 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -19,9 +19,13 @@ static const struct {
{"decrease_gaps", dec_gaps},
{"focus_next", focus_next},
{"focus_prev", focus_prev},
+ {"focus_next_mon", focus_next_mon},
+ {"focus_prev_mon", focus_prev_mon},
{"increase_gaps", inc_gaps},
{"master_next", move_master_next},
{"master_previous", move_master_prev},
+ {"move_next_mon", move_next_mon},
+ {"move_prev_mon", move_prev_mon},
{"quit", quit},
{"reload_config", reload_config},
{"master_increase", resize_master_add},