diff --git a/client.h b/client.h index bf2d389730..bf4010ea1d 100644 --- a/client.h +++ b/client.h @@ -155,7 +155,7 @@ public: bool isDesktop() const; bool isDock() const; bool isTool() const; - bool isMenu() const; + bool isTopMenu() const; bool isResizable() const; diff --git a/plugins.cpp b/plugins.cpp index 4d7118b630..f3449a7427 100644 --- a/plugins.cpp +++ b/plugins.cpp @@ -119,7 +119,7 @@ bool PluginMgr::loadPlugin(QString nameStr) void* create_func = library->symbol("create"); if(create_func) { - create_ptr = (Client* (*)(Workspace *ws, WId w, NET::WindowType, NET::WindowType))create_func; + create_ptr = (Client* (*)(Workspace *ws, WId w, NET::WindowType))create_func; } create_func = library->symbol("allocate"); if(create_func) {