Share

bbkeys

Tracker: Patches

5 send to prev/next workspace - ID: 1189443
Last Update: Comment added ( vanrijn )

The attached patch implements sendToNextWorkspace and
sendToPrevWorkspace. You can use it from the config
file like this:

[sendToNextWorkspace] (Mod1-Right) {true}
[sendToPrevWorkspace] (Mod1-Left) {true}

The parameter is string and if set to "true" or "1"
will also cause the workspace to follow the window
(similar to what middle-click on "send to workspace"
does in Blackbox).

Otherwise, the window is simply sent to the next/prev
workspace.

This patch has one shortcoming: I couldn't figure out
how to also make the window focused when setting the
above to true. window->raise() appears to work as
expected so I've included it, but window->focus()
produces weird results.


Ciprian Popovici ( sfrowd ) - 2005-04-25 12:55

5

Closed

Accepted

Nobody/Anonymous

None

None

Public


Comment ( 1 )

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

Logged In: YES
user_id=286178

Cool, thanks. I've modified this a bit and accepted it into bbkeys. It
will
make it into the 1.0.0 release. =:) Instead of a boolean parameter for
this
operation, I've added a boolean config option so that _any_ send-to
operation can do followWindowOnSend.

Thanks Ciprian!!!! =:)


Attached File ( 1 )

Filename Description Download
sendtonextprevworkspace_0.9.0.patch Download

Changes ( 4 )

Field Old Value Date By
status_id Open 2005-06-05 03:09 vanrijn
resolution_id None 2005-06-05 03:09 vanrijn
close_date - 2005-06-05 03:09 vanrijn
File Added 131637: sendtonextprevworkspace_0.9.0.patch 2005-04-25 12:55 sfrowd