diff --git a/workspace.cpp b/workspace.cpp index dadf2c6b55..bf7e839b38 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -228,7 +228,6 @@ Client* Workspace::clientFactory( WId w ) case NET::Tool: return ( mgr->allocateClient( this, w, true ) ); - case NET::Menu: case NET::Dock: { Client * c = new NoBorderClient( this, w ); @@ -236,6 +235,9 @@ Client* Workspace::clientFactory( WId w ) return c; } + case NET::Menu: + return new NoBorderClient( this, w ); + case NET::Override: return new NoBorderClient( this, w);