diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2023-07-09 17:01:04 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2023-07-10 12:10:54 +0300 |
commit | bb44b9863c49c05e5d2d761e65981853ed42adcd (patch) | |
tree | 14222a2223926bd98b908ca8286c7dcb2289fca3 /twin/client.h | |
parent | 84c43976446c4694049cc6439e961b718bc84fca (diff) | |
download | tdebase-bb44b986.tar.gz tdebase-bb44b986.zip |
twin: Minor code cleanup and refactoring
Refactoring concerns active border code.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 0339423ced3db53f9155c6c174d9508517358f9c)
Diffstat (limited to 'twin/client.h')
-rw-r--r-- | twin/client.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/twin/client.h b/twin/client.h index ae90fb619..302baaa62 100644 --- a/twin/client.h +++ b/twin/client.h @@ -455,7 +455,7 @@ class Client : public TQObject, public KDecorationDefines static void sendClientMessage( Window w, Atom a, Atom protocol, long data1 = 0, long data2 = 0, long data3 = 0 ); - void embedClient( Window w, const XWindowAttributes &attr ); + void embedClient( Window w, const XWindowAttributes &attr ); void detectNoBorder(); void detectShapable(); void destroyDecoration(); @@ -482,11 +482,11 @@ class Client : public TQObject, public KDecorationDefines bool move_faked_activity; Window move_resize_grab_window; bool unrestrictedMoveResize; - bool isMove() const + bool isMove() const { return moveResizeMode && mode == PositionCenter; } - bool isResize() const + bool isResize() const { return moveResizeMode && mode != PositionCenter; } @@ -959,7 +959,7 @@ inline bool Client::hasUserTimeSupport() const { return info->userTime() != -1U; } - + inline bool Client::ignoreFocusStealing() const { return ignore_focus_stealing; |