Share

bbkeys

Tracker: Patches

5 alternate solution to sendTo(Next|Prev)Workspace - ID: 1189457
Last Update: Comment added ( vanrijn )

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


webograph ( webograph ) - 2005-04-25 13:21

5

Closed

Rejected

Nobody/Anonymous

None

None

Public


Comments ( 3 )

Date: 2005-06-05 03:16
Sender: vanrijnProject AdminAccepting Donations

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!!! =:)


Date: 2005-04-25 14:05
Sender: webograph

Logged In: YES
user_id=1266168

new patch uploaded (as described by sfrowd)


Date: 2005-04-25 13:55
Sender: sfrowd

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.


Attached File ( 1 )

Filename Description Download
sendtonextprevworkspace_0.9.0_webograph.patch diff -pruN bbkeys-0.9.0/ bbkeys/ Download

Changes ( 6 )

Field Old Value Date By
status_id Open 2005-06-05 03:16 vanrijn
resolution_id None 2005-06-05 03:16 vanrijn
close_date - 2005-06-05 03:16 vanrijn
File Deleted 131643: 2005-04-25 14:03 webograph
File Added 131647: sendtonextprevworkspace_0.9.0_webograph.patch 2005-04-25 14:03 webograph
File Added 131643: sendtonextprevworkspace_0.9.0_webograph.patch 2005-04-25 13:21 webograph