ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RP] Try to implement next-in-frame feature


From: antoine . brand
Subject: [RP] Try to implement next-in-frame feature
Date: Tue, 29 Jun 2010 14:36:54 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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?

Attachment: rat_src.tgz
Description: GNU Unix tar archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]