108 |
|
disp_result(DS_STARTIMM, 0, NULL); |
109 |
|
bundle_set(BS_ADD, (PACKHEAD *)buf, msg.nbytes/sizeof(PACKHEAD)); |
110 |
|
disp_result(DS_ENDIMM, 0, NULL); |
111 |
+ |
disp_check(0); /* hack -- delete usu. follows add */ |
112 |
+ |
break; |
113 |
+ |
case DR_ADJSET: |
114 |
+ |
if (msg.nbytes % sizeof(PACKHEAD)) |
115 |
+ |
error(INTERNAL, "bad DR_ADJSET from display process"); |
116 |
+ |
disp_result(DS_STARTIMM, 0, NULL); |
117 |
+ |
bundle_set(BS_ADJ, (PACKHEAD *)buf, msg.nbytes/sizeof(PACKHEAD)); |
118 |
+ |
disp_result(DS_ENDIMM, 0, NULL); |
119 |
|
disp_flush(); |
120 |
|
break; |
121 |
|
case DR_DELSET: |
133 |
|
if (msg.nbytes) |
134 |
|
error(INTERNAL, "bad DR_SHUTDOWN from display process"); |
135 |
|
return(0); /* zero return signals shutdown */ |
136 |
+ |
case DR_NOOP: |
137 |
+ |
break; |
138 |
|
default: |
139 |
|
error(INTERNAL, "unrecognized request from display process"); |
140 |
|
} |