From 246533a544fe4037ffe6c7e8f40ec3b56f77a7de Mon Sep 17 00:00:00 2001 From: Rick Console Date: Tue, 10 Jun 2025 11:27:45 -0400 Subject: update correct function for monitor window movement --- default_sxwmrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- cgit v1.2.3 From 1be31b889cbb087ac2041b2a613dfddc0f98006c Mon Sep 17 00:00:00 2001 From: Rick Console Date: Tue, 10 Jun 2025 11:30:37 -0400 Subject: add move and focus mon functions to call_table --- CHANGELOG.md | 1 + src/parser.c | 4 ++++ 2 files changed, 5 insertions(+) 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/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}, -- cgit v1.2.3