all repos — fluxbox @ ac6650454b256cc6b3c50dc3fe243c0b4e265a73

custom fork of the fluxbox windowmanager

removed setNoFocus in class Fluxbox
fluxgen fluxgen
commit

ac6650454b256cc6b3c50dc3fe243c0b4e265a73

parent

8832a07533a12e404bd9ee7370388157a19bd4d5

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M src/Toolbar.ccsrc/Toolbar.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Toolbar.cc,v 1.74 2003/04/25 11:19:45 fluxgen Exp $ +// $Id: Toolbar.cc,v 1.75 2003/04/25 16:08:45 fluxgen Exp $ #include "Toolbar.hh"

@@ -840,7 +840,6 @@ RevertToPointerRoot : RevertToParent), CurrentTime);

frame.workspace_label.clear(); Fluxbox * const fluxbox = Fluxbox::instance(); - fluxbox->setNoFocus(true); if (fluxbox->getFocusedWindow()) //disable focus on current focused window fluxbox->getFocusedWindow()->setFocusFlag(false);

@@ -993,7 +992,7 @@

if (ks == XK_Return || ks == XK_Escape) { editing = false; Fluxbox * const fluxbox = Fluxbox::instance(); - fluxbox->setNoFocus(false); + if (fluxbox->getFocusedWindow()) { fluxbox->getFocusedWindow()->setInputFocus(); fluxbox->getFocusedWindow()->setFocusFlag(true);