Re: Move all windows to other desktop – r eopened
Mathias Dufresne <[email protected]> Mon, 6 Mar 2017 16:14:47 +0100
| Newsgroups | gmane.comp.window-managers.openbox |
|---|---|
| Message-ID | <CABwLUpu5VSKFgEKH60Yp_J3Trr615gh3rsNdPM24xFHT8Ka0NA@mail.gmail.com> |
Regarding key-up and key-down behavior I believe that just not possible under Linux because there is no such states about keyboard's keys. In Linux a key is unpressed or pressed, a key is repeated not by the software currently having the focus but by keyboard's driver which starts repeating the key after some time. I really wish to be mistaken about that... 2017-02-15 13:22 GMT+01:00 Martin Jiřička <[email protected]>: > Thank you Mikael. This moves all windows in current desktop to the last > desktop: > > <keybind key="W-C-S-j"> > <action name="ForEach"> > <omnipresent>no</omnipresent> > <then> > <action name="if"> > <desktop>current</desktop> > <then> > <action name="SendToDesktop"> > <to>last</to> > <follow>no</follow> > </action> > </then> > </action> > </then> > </action> > </keybind> > > Different approach, but it is usable. And better suited for swapping > which did not even came to my mind. > > Anyway I was looking into source code to see how hard would be to > implement MoveDesktop action. I did not give it enough time but am I > right that biggest problem would be to remember all windows in > selection? It looks like every action is triggered by one key and not > like "key down: select windows, some actions, key up: release the > selection". > _______________________________________________ > openbox mailing list > [email protected] > http://icculus.org/mailman/listinfo/openbox > _______________________________________________ openbox mailing list [email protected] http://icculus.org/mailman/listinfo/openbox