From 91b078433073e674c0844de44124dbce4d1e2b82 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 13 Aug 2002 21:14:37 +0000 Subject: don't actually focus windows when adding them to the current workspace. this is already handled elsewhere, ands the window probably isnt evenmapped yet --- src/Window.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Window.cc') diff --git a/src/Window.cc b/src/Window.cc index 0b161f6c..c58e0b3d 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -2706,6 +2706,8 @@ void BlackboxWindow::propertyNotifyEvent(const XPropertyEvent *pe) { break; case XA_WM_TRANSIENT_FOR: { + bool s = flags.stuck; + // determine if this is a transient window getTransientInfo(); @@ -2714,6 +2716,7 @@ void BlackboxWindow::propertyNotifyEvent(const XPropertyEvent *pe) { functions &= ~Func_Maximize; setAllowedActions(); setupDecor(); + if (flags.stuck != s) stick(); } reconfigure(); -- cgit v1.2.3