rem: startup_cursor=new ServerCursor(default_cursor); gfxdriver->SetCursor(startup_cursor);
add: startup_cursor=new ServerBitmap('CURS',"CURSOR_DEFAULT"); if(!startup_cursor->InitCheck()) {   delete startup_cursor; startup_cursor=new ServerBitmap(default_cursor); } gfxdriver->SetCursor(startup_cursor, BPoint(0,0));
context: void init_desktop(int8 workspaces){#ifdef DEBUG_WORKSPACESprintf("init_desktop(%d)\n",workspaces);#endif	workspace_count=workspaces;	if(workspace_count==0)		workspace_count++;	// Instantiate and initialize display driver//	gfxdriver=new ViewDriver();//	gfxdriver=new SecondDriver();	gfxdriver=new ScreenDriver();	gfxdriver->Initialize();	workspacelock=new BLocker();	layerlock=new BLocker();	colorlock=new BLocker();	gui_colors=new ColorSet;#ifdef DEBUG_WORKSPACESprintf("Driver %s\n", (gfxdriver->IsInitialized()==true)?"initialized":"NOT initialized");#endif		desktop=new BList(0);	// Create the workspaces we're supposed to have	for(int8 i=0; i<workspaces; i++)		desktop->AddItem(new Workspace());	// Load workspace preferences here	// We're going to punch in some hardcoded settings for testing purposes.	// There are 3 workspaces hardcoded in for now, but we'll only use the 	// second one.	Workspace *wksp=(Workspace*)desktop->ItemAt(1);	if(wksp!=NULL)	// in case I forgot something	{		rgb_color bcol;		SetRGBColor(&bcol,0,200,236);		//		SetRGBColor(&(wksp->bgcolor),0,200,236);		wksp->SetBGColor(bcol);		screen_info *tempsd=&(wksp->screendata);		tempsd->mode=B_CMAP8;		tempsd->spaces=B_8_BIT_800x600;		tempsd->frame.Set(0,0,799,599);	}	else		printf("DW goofed on the workspace index :P\n");	// Activate workspace 0	pactive_workspace=(Workspace *)desktop->ItemAt(0);	pactive_workspace->screendata.spaces=B_32_BIT_640x480;	gfxdriver->SetMode(pactive_workspace->screendata.spaces);	// Clear the screen	pactive_workspace->toplayer->SetColor(RGBColor(80,85,152));//	gfxdriver->Clear(pactive_workspace->toplayer->GetColor());	startup_cursor=new ServerCursor(default_cursor);	gfxdriver->SetCursor(startup_cursor);	gfxdriver->ShowCursor();	pactive_workspace->toplayer->SetVisible(true);#ifdef DEBUG_WORKSPACESprintf("Desktop initialized\n");#endif}