Menu ▾ ▴

#6 alternate solution to sendTo(Next|Prev)Workspace

closed-rejected
nobody
None
5
2005-06-05
2005-04-25
webograph
No

as announced as a comment to tracker 740764 (feature
request: send to next/prev desktop), i have written a
patch to that problem.
i just saw that sfrowd has posted his own patch (he
contacted me after i posted a clumsy first solution in
the blackbox wiki); i've had a short look at it: due to
the fact that we use the same action name, our
solutions are rather similar in some files (actions.hh,
for example), but differ a bit when it comes down to
the action proper. (i chose to slightly extend the
cycleWorkspace function and use its output for a
smaller action, he wrote own lines, making it a bit
bigger, but also more powerful).

please tell me what you think of it!

p.s. i don't know exactly how to create a patch, so
please check it before you try to apply it and, if
necessary, tell me how to do it correctly so that i can
attach the correct patch

Discussion

  • Ciprian Popovici

    Logged In: YES
    user_id=667423

    Try putting the original source and your patched source
    side-by-side in the same dir, then do this:

    diff -pruN bbkeys-0.9.0/ bbkeys-yours/ > your.patch

    Make sure you do `make distclean` in both source dirs before
    you produce the patch.

     
  • webograph

    webograph - 2005-04-25

    diff -pruN bbkeys-0.9.0/ bbkeys/

     
  • webograph

    webograph - 2005-04-25

    Logged In: YES
    user_id=1266168

    new patch uploaded (as described by sfrowd)

     
  • Jason 'vanRijn' Kasper

    Logged In: YES
    user_id=286178

    Hey there, Mister Webograph, sir. =:) Thanks VERY much for the patch!!
    I've gone with Ciprian's (sfrowd) patch, as it led me to scratch another itch I
    had, where bbkeys can not only send a window to another workspace, but
    also follow it there.

    Thank you for the work though!!! =:)

     
  • Jason 'vanRijn' Kasper

    • status: open --> closed-rejected
     

Log in to post a comment.