diff --git a/src/YabInterface.cpp b/src/YabInterface.cpp index affdc14..9e1c2d4 100644 --- a/src/YabInterface.cpp +++ b/src/YabInterface.cpp @@ -6071,7 +6071,8 @@ int YabInterface::WindowGet(const char* view, const char* option) else if(t.IFindFirst("maximum-height")!=B_ERROR) opt = 8; else if(t.IFindFirst("width")!=B_ERROR) opt = 3; else if(t.IFindFirst("height")!=B_ERROR) opt = 4; - else if(t.IFindFirst("exists")!=B_ERROR) opt = 9; + else if(t.IFindFirst("exists")!=B_ERROR) opt = 9; + else if(t.IFindFirst("minimized-to-deskbar")!=B_ERROR) opt = 10; YabView *myView = cast_as((BView*)viewList->GetView(view), YabView); @@ -6109,6 +6110,8 @@ int YabInterface::WindowGet(const char* view, const char* option) break; case 8: ret = (int)y2; break; + case 10: ret = w->IsMinimized(); + break; } } if (opt==9)