no autogrouping if deco doesn't support it

BUG: 328272
FIXED-IN: 4.11.6
REVIEW: 115308
icc-effect-5.14.5
Thomas Lübking 2013-12-01 22:12:25 +01:00
parent 374ea9091e
commit 6bd74cebf3
1 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "activities.h"
#endif
#include "cursor.h"
#include "decorations.h"
#include <QX11Info>
#include "rules.h"
#include "group.h"
@ -319,7 +320,7 @@ bool Client::manage(xcb_window_t w, bool isMapped)
// Create client group if the window will have a decoration
bool dontKeepInArea = false;
setTabGroup(NULL);
if (!noBorder()) {
if (!noBorder() && DecorationPlugin::self()->supportsTabbing()) {
const bool autogrouping = rules()->checkAutogrouping(options->isAutogroupSimilarWindows());
const bool autogroupInFg = rules()->checkAutogroupInForeground(options->isAutogroupInForeground());
// Automatically add to previous groups on session restore