diff options
author | Michele Calgaro <[email protected]> | 2024-08-02 13:45:09 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-08-02 15:27:22 +0900 |
commit | 4cd5817775a7e3618081bfed788f361307cfef41 (patch) | |
tree | beeed52fdaca7c3e372048a42b6e2ce9ace840b0 /twin/workspace.h | |
parent | 8afb12b32bbc7ef5de9a3821b6f2dae7c658e7db (diff) | |
download | tdebase-4cd5817775a7e3618081bfed788f361307cfef41.tar.gz tdebase-4cd5817775a7e3618081bfed788f361307cfef41.zip |
Add support for window tiling to the taskbar and window's popup menus. This relates to TDE/tdebase#349.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'twin/workspace.h')
-rw-r--r-- | twin/workspace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/twin/workspace.h b/twin/workspace.h index 9c5e55203..28da82ff0 100644 --- a/twin/workspace.h +++ b/twin/workspace.h @@ -415,6 +415,7 @@ class Workspace : public TQObject, public KWinInterface, public KDecorationDefin void writeWindowRules(); void kipcMessage( int id, int data ); void updateActiveBorders(); + void tileCurrentWindowToBorder(int position); // kompmgr void setPopupClientOpacity(int v); void resetClientOpacity(); @@ -506,6 +507,7 @@ class Workspace : public TQObject, public KWinInterface, public KDecorationDefin void calcDesktopLayout(int &x, int &y) const; + TQPopupMenu* makeTileMenu(); TQPopupMenu* clientPopup(); void closeActivePopup(); @@ -590,6 +592,7 @@ class Workspace : public TQObject, public KWinInterface, public KDecorationDefin TQPopupMenu *advanced_popup; TQPopupMenu *desk_popup; int desk_popup_index; + int tile_popup_index; TDEGlobalAccel *keys; TDEGlobalAccel *client_keys; |