Changeset View
Changeset View
Standalone View
Standalone View
abstract_client.cpp
1 | /******************************************************************** | 1 | /******************************************************************** | ||
---|---|---|---|---|---|
2 | KWin - the KDE window manager | 2 | KWin - the KDE window manager | ||
3 | This file is part of the KDE project. | 3 | This file is part of the KDE project. | ||
4 | 4 | | |||
5 | Copyright (C) 2015 Martin Gräßlin <mgraesslin@kde.org> | 5 | Copyright (C) 2015 Martin Gräßlin <mgraesslin@kde.org> | ||
6 | Copyright (C) 2019 Vlad Zagorodniy <vladzzag@gmail.com> | ||||
6 | 7 | | |||
7 | This program is free software; you can redistribute it and/or modify | 8 | This program is free software; you can redistribute it and/or modify | ||
8 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by | ||
9 | the Free Software Foundation; either version 2 of the License, or | 10 | the Free Software Foundation; either version 2 of the License, or | ||
10 | (at your option) any later version. | 11 | (at your option) any later version. | ||
11 | 12 | | |||
12 | This program is distributed in the hope that it will be useful, | 13 | This program is distributed in the hope that it will be useful, | ||
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
▲ Show 20 Lines • Show All 1973 Lines • ▼ Show 20 Line(s) | 1987 | { | |||
1987 | return false; | 1988 | return false; | ||
1988 | } | 1989 | } | ||
1989 | 1990 | | |||
1990 | bool AbstractClient::supportsWindowRules() const | 1991 | bool AbstractClient::supportsWindowRules() const | ||
1991 | { | 1992 | { | ||
1992 | return true; | 1993 | return true; | ||
1993 | } | 1994 | } | ||
1994 | 1995 | | |||
1996 | QMargins AbstractClient::frameMargins() const | ||||
1997 | { | ||||
1998 | return QMargins(borderLeft(), borderTop(), borderRight(), borderBottom()); | ||||
1999 | } | ||||
2000 | | ||||
1995 | } | 2001 | } |