From d3e185a6a8805d044f6dcaa4595d013b8b60e08c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 8 Jul 2007 23:49:24 +0000 Subject: More related projects. --- gtk/PlatGTK.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk') diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 4a7b2ed8d..aaee173d7 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -1874,10 +1874,11 @@ void Window::SetTitle(const char *s) { gtk_window_set_title(GTK_WINDOW(id), s); } -/* Returns rectangle of monitor pt is on, both rect and pt are in Window's +/* Returns rectangle of monitor pt is on, both rect and pt are in Window's gdk window coordinates */ PRectangle Window::GetMonitorRect(Point pt) { gint x_offset, y_offset; + pt = pt; gdk_window_get_origin(PWidget(id)->window, &x_offset, &y_offset); -- cgit v1.2.3