Try to implement next-in-frame feature
| Newsgroups | gmane.comp.window-managers.ratpoison.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, I try to implement the next-in-frame stumpwm feature, this feature allow you to switch to windows which are associated to the current frame. The modified file are: action.c action.h data.h split.c window.c The added code is in /*NEW*/ markers. Explainations : Add a variable to rp_window called "in_frame" to store the information, where the window should be displayed in. Add the "nextframe", same as a "cnext" but taking care of "in_frame". Add a line to add_to_window_list to set the in_frame when a window is created. Add a line to set_active_window_body to change the "in_frame" when a window is displayed in a frame(same as stumpwm next-in-frame). Add lines in the split.c file to change in_frame when cmd_remove or cmd_only are called. Add a line to cmd_undo to change all windows "in_frame" to -1 because we can't save the in_frame information. What do you think about it? _______________________________________________ Ratpoison-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/ratpoison-devel
rat_src.tgz
(application/x-gtar, 143.7 KB) - not displayed