summaryrefslogtreecommitdiffstats
path: root/twin/workspace.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-08-02 13:45:09 +0900
committerMichele Calgaro <[email protected]>2024-08-04 19:00:54 +0900
commit72fce97c2e965335bbd53ebe0af86386d0524204 (patch)
tree65f5425ccec9ba9930aac2ae7b41e09d6942b74f /twin/workspace.h
parent673e48af907a279dc2d651b8f4954ea556a94182 (diff)
downloadtdebase-72fce97c2e965335bbd53ebe0af86386d0524204.tar.gz
tdebase-72fce97c2e965335bbd53ebe0af86386d0524204.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]> (cherry picked from commit 4cd5817775a7e3618081bfed788f361307cfef41)
Diffstat (limited to 'twin/workspace.h')
-rw-r--r--twin/workspace.h3
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;