80 |
tok7 = seamless_get_token(&p); |
tok7 = seamless_get_token(&p); |
81 |
tok8 = seamless_get_token(&p); |
tok8 = seamless_get_token(&p); |
82 |
|
|
83 |
if (!strcmp("CREATE1", tok1)) |
if (!strcmp("CREATE", tok1)) |
84 |
{ |
{ |
85 |
if (!tok3) |
if (!tok3) |
86 |
return False; |
return False; |
95 |
|
|
96 |
ui_seamless_create_window(id, flags); |
ui_seamless_create_window(id, flags); |
97 |
} |
} |
98 |
else if (!strcmp("DESTROY1", tok1)) |
else if (!strcmp("DESTROY", tok1)) |
99 |
{ |
{ |
100 |
if (!tok3) |
if (!tok3) |
101 |
return False; |
return False; |
111 |
ui_seamless_destroy_window(id, flags); |
ui_seamless_destroy_window(id, flags); |
112 |
|
|
113 |
} |
} |
114 |
else if (!strcmp("SETICON1", tok1)) |
else if (!strcmp("SETICON", tok1)) |
115 |
{ |
{ |
116 |
unimpl("SeamlessRDP SETICON1\n"); |
unimpl("SeamlessRDP SETICON1\n"); |
117 |
} |
} |
118 |
else if (!strcmp("POSITION1", tok1)) |
else if (!strcmp("POSITION", tok1)) |
119 |
{ |
{ |
120 |
int x, y, width, height; |
int x, y, width, height; |
121 |
|
|
146 |
|
|
147 |
ui_seamless_move_window(id, x, y, width, height, flags); |
ui_seamless_move_window(id, x, y, width, height, flags); |
148 |
} |
} |
149 |
else if (!strcmp("ZCHANGE1", tok1)) |
else if (!strcmp("ZCHANGE", tok1)) |
150 |
{ |
{ |
151 |
unimpl("SeamlessRDP ZCHANGE1\n"); |
unimpl("SeamlessRDP ZCHANGE1\n"); |
152 |
} |
} |
153 |
else if (!strcmp("SETSTATE1", tok1)) |
else if (!strcmp("SETSTATE", tok1)) |
154 |
{ |
{ |
155 |
unsigned int state; |
unsigned int state; |
156 |
|
|
173 |
ui_seamless_settitle(id, tok3); |
ui_seamless_settitle(id, tok3); |
174 |
ui_seamless_setstate(id, state, flags); |
ui_seamless_setstate(id, state, flags); |
175 |
} |
} |
176 |
else if (!strcmp("DEBUG1", tok1)) |
else if (!strcmp("DEBUG", tok1)) |
177 |
{ |
{ |
178 |
printf("SeamlessRDP:%s\n", line); |
printf("SeamlessRDP:%s\n", line); |
179 |
} |
} |