updates patches
This commit is contained in:
parent
3b5616b231
commit
dbf1fcdcd7
@ -228,7 +228,7 @@ diff -up gtk+-2.19.1/gtk/gtktooltip.c.fresh-tooltips gtk+-2.19.1/gtk/gtktooltip.
|
|||||||
+ /* This is a hack to keep the Metacity compositor from slapping a
|
+ /* This is a hack to keep the Metacity compositor from slapping a
|
||||||
+ * non-shaped shadow around the shaped tooltip
|
+ * non-shaped shadow around the shaped tooltip
|
||||||
+ */
|
+ */
|
||||||
+ if (!GTK_WIDGET_MAPPED (tooltip->window))
|
+ if (!gtk_widget_get_mapped (tooltip->window))
|
||||||
+ {
|
+ {
|
||||||
+ wm = gdk_x11_screen_get_window_manager_name (screen);
|
+ wm = gdk_x11_screen_get_window_manager_name (screen);
|
||||||
+ if (g_strcmp0 (wm, "Metacity") == 0)
|
+ if (g_strcmp0 (wm, "Metacity") == 0)
|
||||||
|
@ -26,7 +26,7 @@ diff -up gtk+-2.18.3/gtk/gtktooltip.c.positioning gtk+-2.18.3/gtk/gtktooltip.c
|
|||||||
+ gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor);
|
+ gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor);
|
||||||
+
|
+
|
||||||
+ gdk_window_get_origin (new_tooltip_widget->window, &wx, &wy);
|
+ gdk_window_get_origin (new_tooltip_widget->window, &wx, &wy);
|
||||||
+ if (GTK_WIDGET_NO_WINDOW (new_tooltip_widget))
|
+ if (!gtk_widget_get_has_window (new_tooltip_widget))
|
||||||
+ {
|
+ {
|
||||||
+ wx += new_tooltip_widget->allocation.x;
|
+ wx += new_tooltip_widget->allocation.x;
|
||||||
+ wy += new_tooltip_widget->allocation.y;
|
+ wy += new_tooltip_widget->allocation.y;
|
||||||
|
Loading…
Reference in New Issue
Block a user