From d39d1bf09b890b5393c28d261f931bcde742de45 Mon Sep 17 00:00:00 2001 From: gryf Date: Fri, 2 Apr 2021 18:20:31 +0200 Subject: [PATCH] Respect user provided position passed with -geometry param. Original code had a function for copying height related parameters from WM_NORMAL_HINTS which was modified than by adding the height of tabs. Rest of the hints was simply removed. Using geometry command line parameter with urxvt and tabbedalt plugin results that provided window position was ignored. This patch is fixing that behaviour. --- tabbedalt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabbedalt b/tabbedalt index e8e88b2..54d2e06 100644 --- a/tabbedalt +++ b/tabbedalt @@ -267,7 +267,7 @@ sub copy_properties { if ($atom == $wm_normal_hints) { my (@hints) = unpack "l!*", $items; - $hints[$_] += $self->{tabheight} for (4, 6, 16); + $hints[$_] += $self->{tabheight} for (0, 1, 4, 6, 16); $items = pack "l!*", @hints; }