summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-07-15 22:27:46 +0000
committerDana Jansens <danakj@orodu.net>2002-07-15 22:27:46 +0000
commitaf0eced0818a3e68ed50e54372e651672956313d (patch)
treeffdb4d8eb22b1f4cf80431e0cbad2e330ee36e12 /src
parent90dbcb271c5e6d7ca73c19a519b93885b833db0a (diff)
kde's 'desktop menu' now works just like a panel
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 07b99758..017093e6 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -204,11 +204,14 @@ BlackboxWindow::BlackboxWindow(Blackbox *b, Window w, BScreen *s) {
return;
case Type_Dock:
- // docks (such as kicker) cannot be moved, and appear on all workspaces
+ case Type_Menu:
+ // docks (such as kicker) and menus (as used by kde for the 'desktop menu'
+ // which mimics apple, cannot be moved, and appear on all workspaces
+ // also, these have no decorations
functions &= ~(Func_Move);
+ decorations &= ~Decor_Titlebar;
flags.stuck = True;
case Type_Toolbar:
- case Type_Menu:
case Type_Utility:
// these windows have minimal decorations, only a titlebar, and cannot
// be resized or iconified