changeset 19614:16776040e347

ifdef win32 the conversation placement code
author Sean Egan <seanegan@gmail.com>
date Mon, 03 Sep 2007 19:40:10 +0000
parents 2d4c626f60c1
children 10999957012a
files pidgin/gtkconv.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Mon Sep 03 18:47:15 2007 +0000
+++ b/pidgin/gtkconv.c	Mon Sep 03 19:40:10 2007 +0000
@@ -8247,10 +8247,11 @@
 
 			gtk_window_get_size(GTK_WINDOW(dest_win->window),
 			                    &win_width, &win_height);
-
+#ifdef WIN32  /* only override window manager placement on Windows */
 			gtk_window_move(GTK_WINDOW(dest_win->window),
 			                e->x_root - (win_width  / 2),
 			                e->y_root - (win_height / 2));
+#endif
 
 			pidgin_conv_window_show(dest_win);
 		}