all repos — fluxbox @ 5aa47abd8665f04d0e8394bea72eda2f6098ec82

custom fork of the fluxbox windowmanager

added parameter to NEXTWINDOW/PREVWINDOW
fluxgen fluxgen
commit

5aa47abd8665f04d0e8394bea72eda2f6098ec82

parent

c6b11959cfa91b472ee6cc17ea45a1c6c5670c03

1 files changed, 8 insertions(+), 1 deletions(-)

jump to
M src/Keys.ccsrc/Keys.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -//$Id: Keys.cc,v 1.12 2002/02/26 22:19:43 fluxgen Exp $ +//$Id: Keys.cc,v 1.13 2002/03/18 20:25:42 fluxgen Exp $ #ifdef HAVE_CONFIG_H # include "config.h"

@@ -281,6 +281,13 @@ strlen(getActionStr(Keys::EXECUTE)));

break; case WORKSPACE: case SENDTOWORKSPACE: + if (argc + 1 < val.size()) + last_key->param = atoi( val[argc+1].c_str()); + else + last_key->param = 0; + break; + case NEXTWINDOW: + case PREVWINDOW: if (argc + 1 < val.size()) last_key->param = atoi( val[argc+1].c_str()); else