X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2FWindow.cc;h=017093e6aee0a80c91433aab9431daeb43825641;hb=fb613db29ffcf1539c91f0ac0ca5d25cb4e593b5;hp=07b9975805c350b6e6d0d435785c31de4133c916;hpb=c6a826bf663d3cb286025642f5e2a725b5d1c660;p=chaz%2Fopenbox 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