Comments (10)
I will implement this soon.
from bspwm.
Please try the adopt-orphans branch.
from bspwm.
I just tried that branch and bspwm now correctly adopts the orphaned windows. 😺
However, the order of windows (the BSP tree structure) is scrambled every time bspwm re-adopts them.
Is there a way to preserve the order of windows? Thanks.
from bspwm.
For instance, the wmii WM solved this problem by annotating windows with a _WMII_TAGS property. Upon re-adopting orphans, it would read those properties and know how to restore the previous window ordering.
from bspwm.
The window ordering wouldn't be sufficient.
I'm afraid the proper way to do that would be to dump bspwm's current
state (monitors, desktops, nodes) and then read that back on startup.
from bspwm.
I found a bug in the current adopt-orphans implementation:
- Open some windows on the first desktop.
- Switch to another desktop.
- Open a terminal.
- Run
bspc quit
- Relaunch bspwm.
- Switch back to the first desktop.
Now observe that the first desktop is empty (and all those old windows are gone!). It should not be! 🐛
from bspwm.
6e3af9f should address that.
from bspwm.
Thanks, windows from all previous desktops are now adopted into the first (default) one.
Next, could we recreate the previous desktops from the _NET_WM_DESKTOP
information?
from bspwm.
The previous desktops will be recreated by the autostart, but what you ask for, I presume, is to put the windows back into their previous respective desktops.
Hopefully, 240c75c will permit that.
But orphan adoption will not occur automatically, you have to add:
bspc adopt_orphans
at the end of your autostart.
from bspwm.
The layout can now be restored completely through the restore message.
Please have a look at wm, wm_restart and bspwm_autostart to see how.
from bspwm.
Related Issues (20)
- Suggested man page tweak: "The special selector %<name>" -> "The special selector %name"
- inconsistent focus when opening with qutebrowser HOT 4
- Bump to the latest version
- BSPWM freezes after being afk for around 20-30 minutes HOT 2
- chromium ui breaks while opening booksmarks popup HOT 3
- ghost windows caused by picom
- My bspwm takes like a second or two to respond to every keybinding followed by the modkey. HOT 8
- How to use multiple hotkeys for the pointer_modifier?
- Cannot open tmuxifier on bspwm config reload
- Window coordinates are out-of-sync after config event
- Mouse input freezes on games like minecraft
- Desktop Assignment Swaps Unexpectedly in Dual Monitor Setup HOT 19
- Spawning a node on a certain desktop HOT 4
- [Kinda Bug?] No "node_transfer" events before or after a "desktop_remove" event
- Rules for Floating Windows not setting correctly for multi-monitor setup
- BSPWM and XFCE4 not agreeing on workspaces HOT 1
- Floating windows that meant to be moved around with their title bars move on focused LMB
- Changing border of floating window breaks it HOT 1
- Segfault in `_apply_name` because xcb's strings aren't null-terminated
- Marble-qt windowing issue & `external_rules_command` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bspwm.