1
0
mirror of https://github.com/gryf/tabbedalt.git synced 2025-12-17 11:30:31 +01:00

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.
This commit is contained in:
2021-04-02 18:20:31 +02:00
parent 071587d0dc
commit d39d1bf09b

View File

@@ -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;
}