Commit bdd091e4 authored by Jan Djärv's avatar Jan Djärv
Browse files

* gtkutil.c (xg_event_is_for_scrollbar): Assign gwin when HAVE_GTK3 is defined.

Fixes: debbugs:11768
parent 9d44f8ce
2012-07-06 Jan Djärv <jan.h.d@swipnet.se>
* gtkutil.c (xg_event_is_for_scrollbar): Assign gwin when HAVE_GTK3
is defined (Bug#11768).
2012-07-06 Dmitry Antipov <dmantipov@yandex.ru>
Fix marker debugging code.
......@@ -122,7 +127,7 @@
(xg_event_is_for_scrollbar): Use Gdk Device functions for HAVE_GTK3.
(is_box_type): New function (Bug#11768).
(xg_tool_item_stale_p): Call is_box_type.
(xg_initialize): Get settings by calling gtk_settings_get_for_screen
(xg_initialize): Get settings by calli<g gtk_settings_get_for_screen
with default display (Bug#11768).
2012-07-05 Eli Zaretskii <eliz@gnu.org>
......
......@@ -3730,7 +3730,7 @@ xg_event_is_for_scrollbar (FRAME_PTR f, XEvent *event)
#ifdef HAVE_GTK3
GdkDevice *gdev = gdk_device_manager_get_client_pointer
(gdk_display_get_device_manager (gdpy));
gdk_device_get_window_at_position (gdev, NULL, NULL);
gwin = gdk_device_get_window_at_position (gdev, NULL, NULL);
#else
gwin = gdk_display_get_window_at_pointer (gdpy, NULL, NULL);
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment