no autogrouping if deco doesn't support it
BUG: 328272 FIXED-IN: 4.11.6 REVIEW: 115308
This commit is contained in:
parent
374ea9091e
commit
6bd74cebf3
1 changed files with 2 additions and 1 deletions
|
@ -31,6 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#include "activities.h"
|
#include "activities.h"
|
||||||
#endif
|
#endif
|
||||||
#include "cursor.h"
|
#include "cursor.h"
|
||||||
|
#include "decorations.h"
|
||||||
#include <QX11Info>
|
#include <QX11Info>
|
||||||
#include "rules.h"
|
#include "rules.h"
|
||||||
#include "group.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
|
// Create client group if the window will have a decoration
|
||||||
bool dontKeepInArea = false;
|
bool dontKeepInArea = false;
|
||||||
setTabGroup(NULL);
|
setTabGroup(NULL);
|
||||||
if (!noBorder()) {
|
if (!noBorder() && DecorationPlugin::self()->supportsTabbing()) {
|
||||||
const bool autogrouping = rules()->checkAutogrouping(options->isAutogroupSimilarWindows());
|
const bool autogrouping = rules()->checkAutogrouping(options->isAutogroupSimilarWindows());
|
||||||
const bool autogroupInFg = rules()->checkAutogroupInForeground(options->isAutogroupInForeground());
|
const bool autogroupInFg = rules()->checkAutogroupInForeground(options->isAutogroupInForeground());
|
||||||
// Automatically add to previous groups on session restore
|
// Automatically add to previous groups on session restore
|
||||||
|
|
Loading…
Reference in a new issue