all repos — fluxbox @ 988a1eed4320309c54713c8bcfa860755fcb10ae

custom fork of the fluxbox windowmanager

check transient later
fluxgen fluxgen
commit

988a1eed4320309c54713c8bcfa860755fcb10ae

parent

25e318b255666a3103865456c65175a7f0f6b85a

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

jump to
M src/Workspace.ccsrc/Workspace.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: Workspace.cc,v 1.24 2002/08/16 11:02:41 fluxgen Exp $ +// $Id: Workspace.cc,v 1.25 2002/08/18 23:35:31 fluxgen Exp $ #include "Workspace.hh"

@@ -139,8 +139,11 @@ if (screen->isSloppyFocus()) {

Fluxbox::instance()->setFocusedWindow(0); // set focused window to none } else if (w->isTransient() && w->getTransientFor() && w->getTransientFor()->isVisible()) { - if (w->getTransientFor() == w) // FATAL ERROR, this should not happend + /* TODO: check transient + if (w->getTransientFor() == w) { // FATAL ERROR, this should not happend + cerr<<"w->getTransientFor() == w: aborting!"<<endl; abort(); + }*/ w->getTransientFor()->setInputFocus(); } else { FluxboxWindow *top = 0;