Menu

#62 configurable modifier key (resize/lower etc)

blackbox
open
nobody
5
2003-12-30
2003-12-30
No

Blackbox uses Mod1 (Alt) as the modifier key for move,
resize, raise, lower etc. The attached patch makes the
modifier key configurable via the blackbox rc. This
feature was inspired by openbox. The patch is against
blackbox 0.65.0.

Discussion

  • James Flemer

    James Flemer - 2003-12-30

    blackbox-0.65.0-modifier_mask.diff

     
  • James deBoer

    James deBoer - 2004-01-05

    Logged In: YES
    user_id=53410

    I like the idea behind this patch. However, it does raise a
    question: Where do we draw the line between features in the
    blackbox code and features in bbtools (e.g. bbkeys)?

    Personally, I would like to see bbkeys implement mouse
    actions as well. That would incorporate the Alt+drag feature
    of blackbox.

     
  • James Flemer

    James Flemer - 2004-01-06

    Logged In: YES
    user_id=39444

    Well, I think this one is obvious (for the time being),
    since this is not adding or removing anything from blackbox,
    simply just allowing the modifier key to be changed from Alt
    to something else. (Using alt+mouse is already a feature of
    blackbox.) I don't even use bbkeys, but would clearly need
    to if the mouse actions were moved from bb into bbkeys...

    My main motivation for getting this into blackbox is that
    openbox 3.x no longer is based on blackbox; it has been
    re-written. I was using openbox 2.x because it was blackbox
    with a configurable modifier key and some edge snaping
    features. I do not wish to use openbox now that it has been
    rewritten, so I patched up blackbox to let me change the
    modifier key.

     
  • James Flemer

    James Flemer - 2005-03-09

    Logged In: YES
    user_id=39444

    One year later and counting ... and I'm back to download
    this patch since I've lost it on my system. This is not a
    new feature for blackbox, it just allows configuring an
    existing feature.

     
  • Ciprian Popovici

    Logged In: YES
    user_id=667423

    Does the patch work with 0.70? If not, could you adapt it?
    Applying cleanly to 0.70 naturally increases chances of
    being adopted into the official code.

     
  • James Flemer

    James Flemer - 2005-03-11

    blackbox-0.70.0-modifierMask.diff

     
  • James Flemer

    James Flemer - 2005-03-11

    Logged In: YES
    user_id=39444

    Here is an updated patch for 0.70.0, including a man page
    update.

     

Log in to post a comment.