[dev] [dwm] changing the current view from a function

From: Fernando C.V. <ferkiwi_AT_gmail.com>
Date: Mon, 18 Nov 2013 00:01:17 +0100

Hello,

I realised that since several revisions ago (like months ago,
actually), the shiftview.c patch [1] is messing up the layouts.

Doing something like the following also shows the same issue (should
switch to the Tag 5):

void
shiftview(const Arg *arg) {
    Arg shifted;
    shifted.ui = 1 << 5;
    view(&shifted);
}

Did anything change in the code? what would be the right way to write
a function to switch views without messing up the tiled layout?

The view switches but then only the monocle and floating layouts work
properly, all other possible layouts (like tiled) show the windows
tiled in a single vertical column, with no master window. Not being
possible to have one window at the left and another at the right.

--
Fernando
Received on Mon Nov 18 2013 - 00:01:17 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 18 2013 - 00:12:20 CET