richoH/openbox — Issue #3: Warp should be an action, not an option
Author: richoH
Created: 2011-11-11 00:08:02+00:00
State: open

11:02 < Mikachu> ah, right
11:02 < Mikachu> that's not possible ;)
11:03 < richo> It's possible, but it also breaks a bunch of stuff ;)
11:03 < dana> you should just do ignore_enters around the warp
11:04 < richo> I've used at least one other wm that does it
11:04 < Mikachu> figuring out the part of the window that's visible, if any, is probably a bit tricky
11:04 < Mikachu> maybe you can use the RECT stuff from place.c
11:05 < richo> the assumption has been that the window is now on top
11:05 < Mikachu> maybe one way to implement it would be to make a new action that warps the cursor to a
visible part of the window
11:06 < Mikachu> you only want to warp it when you focus the window, but the user might not have the
raise action in there
----------------------------------------------------------------------------------------------------------
11:06 < Mikachu> so it's better to let the user add the warp action than having a warp option, imo
11:06 < Mikachu> i have one alt-tab that does focus+raise and win-tab that only focuses
11:07 < richo> that is a really valid point
11:07 < richo> I'll rewrite it on the weekend