[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 23/473: Fix menu not positioned correctly when panel button is moved.
noreply at xfce.org
noreply at xfce.org
Mon Feb 16 23:53:13 CET 2015
This is an automated email from the git hooks/post-receive script.
gottcode pushed a commit to branch master
in repository panel-plugins/xfce4-whiskermenu-plugin.
commit 547a81b7e47215f4bd842e3a8bead0358ef05d43
Author: Graeme Gott <graeme at gottcode.org>
Date: Mon Jun 24 15:04:38 2013 -0400
Fix menu not positioned correctly when panel button is moved.
---
src/menu.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/menu.cpp b/src/menu.cpp
index d8bfebd..0fd9806 100644
--- a/src/menu.cpp
+++ b/src/menu.cpp
@@ -241,7 +241,7 @@ void Menu::show(GtkWidget* parent, bool horizontal)
gtk_widget_realize(parent);
}
GdkWindow* window = gtk_widget_get_window(parent);
- gdk_window_get_position(window, &parent_x, &parent_y);
+ gdk_window_get_origin(window, &parent_x, &parent_y);
int parent_w = gdk_window_get_width(window);
int parent_h = gdk_window_get_height(window);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list