devdraw: do not create OS X window group (Eric Nichols)
This commit is contained in:
parent
31aedb82d3
commit
d9841dc7ad
1 changed files with 0 additions and 3 deletions
|
|
@ -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();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue