fuhsjr00 / bug.n

Tiling Window Manager for Windows
GNU General Public License v3.0
3.34k stars 214 forks source link

Suddenly all windows switched between main and second monitor #208

Open JamesLarkinWhite opened 5 years ago

JamesLarkinWhite commented 5 years ago

I accidentally clicked on the bug.n status bar in the second monitor ( i am not sure if i pressed a key) and suddenly the content of the main monitor switched to the second monitor all into one window and vice versa. Now when i start bug.n this state is saved? If i manually undo it i still have some weird behavior of for example the windows program start (win key) toolbar which is suddently floating .

Can i somehow rest this? On a side note, is it possible co completly flip the content from the main monitor and the second monitor with a key press?

joten commented 5 years ago

As far as I can see there is nothing like this you can produce by clicking the status bar; the closest thing could be done by hotkey:

#^+.::Manager_setViewMonitor(0, +1)
#^+,::Manager_setViewMonitor(0, -1)

It seems from bug.n's point of view the monitors switched during the session (1 <-> 2) and the windows were rearranged accordingly, -- which would be weird. If Config_autoSaveSession=auto, which is the default, the window arrangement would be preserved during sessions. You could do one of the following:

Only half the way of switching all windows between monitors can currently be achived by using Manager_setViewMonitor, e.g. #^+.::Manager_setViewMonitor(0, +1) to switch the content of the current view on the current monitor to the next monitor, consolidating the active views on both monitors.