Lines Matching refs:winp
574 _Dga_window winp;
576 winp = check_other_curg_windows(infop);
577 if (winp) {
578 clientp->curs_fd = winp->curs_fd;
579 clientp->curs_info = winp->curs_info;
580 lockp = winp->w_lockp;
581 unlockp = winp->w_unlockp;
901 Dga_winlist winp;
905 for(winp = dga_wlist; winp != NULL; winp = winp->next_winlist) {
906 if (clientp = winp->dga_clientplist_draw) {
912 if (clientp = winp->dga_clientplist) {
982 struct dga_winlist *prevwinp, *winp;
989 winp = dga_wlist;
991 while (winp) {
992 if (winp->w_token == clientp->w_token) {
995 clntp = winp->dga_clientplist_draw;
997 clntp = winp->dga_clientplist;
1007 winp->dga_clientplist_draw = clntp->w_next;
1009 winp->dga_clientplist = clntp->w_next;
1018 clntp = winp->dga_clientplist;
1027 winp->dga_clientplist_draw = clntp->w_next;
1029 winp->dga_clientplist = clntp->w_next;
1039 prevwinp = winp;
1040 winp = winp->next_winlist;
1047 if ((clientp->rtn_flags & RTN_GRABBED) && (!winp->dga_clientplist))
1049 if (clientp->db_enabled && (!winp->dga_clientplist))
1072 if ((winp->dga_clientplist_draw == NULL) &&
1073 (winp->dga_clientplist == NULL)){
1079 prevwinp->next_winlist = winp->next_winlist ;
1081 dga_wlist = winp->next_winlist ;
1083 mutex_destroy(&winp->mutex);
1085 free(winp);
1094 struct dga_winlist *winp;
1101 winp = dga_wlist;
1103 while (winp) {
1104 if (winp->w_token == clientp->w_token) {
1109 clntp = winp->dga_clientplist_draw;
1111 clntp = winp->dga_clientplist;
1128 winp = winp->next_winlist;