diff options
author | nyamatongwe <unknown> | 2007-07-08 23:49:24 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2007-07-08 23:49:24 +0000 |
commit | d3e185a6a8805d044f6dcaa4595d013b8b60e08c (patch) | |
tree | 8f05039970de8cd857b9e6110c8689120884dc5a /gtk/PlatGTK.cxx | |
parent | 50d734d2096ce04b7f6d354c4eda2da0257cac69 (diff) | |
download | scintilla-mirror-d3e185a6a8805d044f6dcaa4595d013b8b60e08c.tar.gz |
More related projects.
Diffstat (limited to 'gtk/PlatGTK.cxx')
-rw-r--r-- | gtk/PlatGTK.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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); |