Posted by member 37809 on 2003-07-03 22:22:30
I desire some functionality to return focus to the last application window that's not related to litestep('s modules), preferably available in the form of a bang.
I imagine it could be added to WndMan (Vendicator) or subclass (ilmcuts), though I don't know what is required to make this possible; for all I know you might need to keep track of running tasks or something.
Scenarios in the context of modules:
1) User clicks on some label. It does something. Ok, it's done doing its thing. Now return focus to the previous non-litestep window.
2) User mouse enters a label. Using WndMan, give this label focus. This label has mouse wheel events, so now having focus, user may readily wheel up and down. On mouse leave, restore focus to the previous window.
3) User left clicks on the desktop. User's theme just so happens to not have any functionality associated with it. May as well give focus back to the last window.
4) User prepares to click on a something clickable, like a shortcut. This shortcut is special because it calls bangs that are applied to the current window (that which has focus). Normally, clicking on this shortcut will have the bang be applied to itself; instead when user clicks on the shortcut, return focus to the last application window and then call the intended bang(s). WndMan has many window-manipulating bangs which may be applied to the current window. Hotkeys are limited; shortcuts may be better, if also to justify this requested feature ;X
I imagine it could be added to WndMan (Vendicator) or subclass (ilmcuts), though I don't know what is required to make this possible; for all I know you might need to keep track of running tasks or something.
Scenarios in the context of modules:
1) User clicks on some label. It does something. Ok, it's done doing its thing. Now return focus to the previous non-litestep window.
2) User mouse enters a label. Using WndMan, give this label focus. This label has mouse wheel events, so now having focus, user may readily wheel up and down. On mouse leave, restore focus to the previous window.
3) User left clicks on the desktop. User's theme just so happens to not have any functionality associated with it. May as well give focus back to the last window.
4) User prepares to click on a something clickable, like a shortcut. This shortcut is special because it calls bangs that are applied to the current window (that which has focus). Normally, clicking on this shortcut will have the bang be applied to itself; instead when user clicks on the shortcut, return focus to the last application window and then call the intended bang(s). WndMan has many window-manipulating bangs which may be applied to the current window. Hotkeys are limited; shortcuts may be better, if also to justify this requested feature ;X