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