Mercurial > pidgin
comparison src/buddy.c @ 3063:22c84cbcd5a6
[gaim-migrate @ 3077]
A buddy window placement fix by Marc Deslauriers and a compile fix from Benjamin Miller. Thanks guys. Also, an irc fix.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 16 Mar 2002 20:14:24 +0000 |
parents | 4f2f12bf4408 |
children | a7e03c5d2205 |
comparison
equal
deleted
inserted
replaced
3062:7fedd5d56b66 | 3063:22c84cbcd5a6 |
---|---|
2263 int x, y, width, height; | 2263 int x, y, width, height; |
2264 int save = 0; | 2264 int save = 0; |
2265 gdk_window_get_position(blist->window, &x, &y); | 2265 gdk_window_get_position(blist->window, &x, &y); |
2266 gdk_window_get_size(blist->window, &width, &height); | 2266 gdk_window_get_size(blist->window, &width, &height); |
2267 | 2267 |
2268 #ifdef USE_APPLET | |
2269 if (applet_buddy_show){ | |
2270 #endif | |
2271 | |
2268 if (e->send_event) { /* Is a position event */ | 2272 if (e->send_event) { /* Is a position event */ |
2269 if (blist_pos.x != x || blist_pos.y != y) | 2273 if (blist_pos.x != x || blist_pos.y != y) |
2270 save = 1; | 2274 save = 1; |
2271 blist_pos.x = x; | 2275 blist_pos.x = x; |
2272 blist_pos.y = y; | 2276 blist_pos.y = y; |
2281 } | 2285 } |
2282 | 2286 |
2283 if (save) | 2287 if (save) |
2284 save_prefs(); | 2288 save_prefs(); |
2285 | 2289 |
2290 #ifdef USE_APPLET | |
2291 } | |
2292 #endif | |
2293 | |
2286 } | 2294 } |
2287 | 2295 |
2288 | 2296 |
2289 /******************************************************************* | 2297 /******************************************************************* |
2290 * | 2298 * |