devdraw: do not create OS X window group (Eric Nichols)

This commit is contained in:
Russ Cox 2008-07-03 00:02:31 -04:00
parent 31aedb82d3
commit d9841dc7ad

View file

@ -48,7 +48,6 @@ struct {
MenuRef vmenu;
WindowRef window;
CGImageRef image;
WindowGroupRef wingroup;
PasteboardRef snarf;
} osx;
@ -142,8 +141,6 @@ _screeninit(void)
or.right = r.max.x;
or.bottom = r.max.y;
CreateNewWindow(kDocumentWindowClass, WindowAttrs, &or, &osx.window);
CreateWindowGroup(0, &osx.wingroup);
SetWindowGroup(osx.window, osx.wingroup);
setlabel(osx.label);
seticon();