-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RaiseLower only Lowers windows in per-desktop mode in certain conditions #86
Comments
Previously, when StartsOnDesk was used, although the desk was correctly set, the desk would never change thereafter, once the window was moved. This was because the UPDATE_FVWM_SCREEN macro assumed it could always update the window, but never took into account that when moving monitors, the desk also needed to be changed. But this can't blindly happen in all cases, as on initla mapping of the window, the UPDATE_FVWM_SCREEN macro would have overriden the StartsOnDesk style. This change introduces a flag to track this as well as reducing the number of assigments which weren't needed when updating the screen. Also removed an extraneous assignment. Helps #86
Hi @NsCDE, Thanks for this. I presume the window you were moving between desk not updating correctly on As to your RaiseLower problem, I'll take a look now... |
Previously, when StartsOnDesk was used, although the desk was correctly set, the desk would never change thereafter, once the window was moved. This was because the UPDATE_FVWM_SCREEN macro assumed it could always update the window, but never took into account that when moving monitors, the desk also needed to be changed. But this can't blindly happen in all cases, as on initla mapping of the window, the UPDATE_FVWM_SCREEN macro would have overriden the StartsOnDesk style. This change introduces a flag to track this as well as reducing the number of assigments which weren't needed when updating the screen. Also removed an extraneous assignment. Helps #86
Previously, when StartsOnDesk was used, although the desk was correctly set, the desk would never change thereafter, once the window was moved. This was because the UPDATE_FVWM_SCREEN macro assumed it could always update the window, but never took into account that when moving monitors, the desk also needed to be changed. But this can't blindly happen in all cases, as on initla mapping of the window, the UPDATE_FVWM_SCREEN macro would have overriden the StartsOnDesk style. This change introduces a flag to track this as well as reducing the number of assigments which weren't needed when updating the screen. Also removed an extraneous assignment. Helps #86
Previously, when StartsOnDesk was used, although the desk was correctly set, the desk would never change thereafter, once the window was moved. This was because the UPDATE_FVWM_SCREEN macro assumed it could always update the window, but never took into account that when moving monitors, the desk also needed to be changed. But this can't blindly happen in all cases, as on initla mapping of the window, the UPDATE_FVWM_SCREEN macro would have overriden the StartsOnDesk style. This change introduces a flag to track this as well as reducing the number of assigments which weren't needed when updating the screen. Also removed an extraneous assignment. Helps #86
When deducing if the windows in the stack ring should be compared against, only consider those windows on the same monitor as the current window. Fixes #86
Hi @NsCDE, I suspect the Let me know how you get on. |
Hi Thomas, Sorry for the delay, I had lot of work this days. Just to confirm: I have tested, both RaiseLower and FvwmIdent are now behaving fine. You can close this issue I think. |
Previously, when StartsOnDesk was used, although the desk was correctly set, the desk would never change thereafter, once the window was moved. This was because the UPDATE_FVWM_SCREEN macro assumed it could always update the window, but never took into account that when moving monitors, the desk also needed to be changed. But this can't blindly happen in all cases, as on initla mapping of the window, the UPDATE_FVWM_SCREEN macro would have overriden the StartsOnDesk style. This change introduces a flag to track this as well as reducing the number of assigments which weren't needed when updating the screen. Also removed an extraneous assignment. Helps #86
When deducing if the windows in the stack ring should be compared against, only consider those windows on the same monitor as the current window. Fixes #86
Previously, when StartsOnDesk was used, although the desk was correctly set, the desk would never change thereafter, once the window was moved. This was because the UPDATE_FVWM_SCREEN macro assumed it could always update the window, but never took into account that when moving monitors, the desk also needed to be changed. But this can't blindly happen in all cases, as on initla mapping of the window, the UPDATE_FVWM_SCREEN macro would have overriden the StartsOnDesk style. This change introduces a flag to track this as well as reducing the number of assigments which weren't needed when updating the screen. Also removed an extraneous assignment. Helps fvwmorg#86
When deducing if the windows in the stack ring should be compared against, only consider those windows on the same monitor as the current window. Fixes fvwmorg#86
Branch: master
If I have terminal on monitor Virtual-0, desk 0, and start "someapp" on monitor Virtual-1, desk 2, and then move it with mouse to Virtual-0, it will change desk to desk 0. I can use RaiseLower builtin function to lower it if it covers app which has been initially on Virtual-0, but raise part doesn't function: it is like window moved from Virtual-1 to Virtual-0 is on the "top" layer, with exception that I can lower native window (but not raise over newcomer window again too).
This doesn't manifests if same desk is on both monitors while moving windows.
EDIT: Additionally, in FvwmIdent, info about desk of the window moved between monitors/desks is not changed, monitor is.
The text was updated successfully, but these errors were encountered: