diff options
Diffstat (limited to 'modules/input')
-rw-r--r-- | modules/input/gtkimcontextxim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/input/gtkimcontextxim.c b/modules/input/gtkimcontextxim.c index 9a152b5060..4519d13c16 100644 --- a/modules/input/gtkimcontextxim.c +++ b/modules/input/gtkimcontextxim.c @@ -1624,7 +1624,7 @@ on_status_toplevel_configure (GtkWidget *toplevel, if (status_window->window) { - height = gdk_screen_get_height (gtk_widget_get_screen (toplevel)); + height = gdk_window_get_height (gdk_screen_get_root_window (gtk_widget_get_screen (toplevel))); gdk_window_get_frame_extents (gtk_widget_get_window (toplevel), &rect); |