Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the location for the highlight window when flashing.

git-svn-id: https://gtkparasite.googlecode.com/svn/trunk/gtkparasite@11 87a1d21d-fa52-0410-82b2-83ba5e1e7780
  • Loading branch information...
commit 9b536b42a4ec796240605fe9f4bdccf8e58771a5 1 parent 5a982d3
chipx86 authored committed
Showing with 2 additions and 6 deletions.
  1. +2 −6 src/inspect-button.c
View
8 src/inspect-button.c
@@ -186,12 +186,8 @@ gtkparasite_flash_widget(ParasiteWindow *parasite, GtkWidget *widget)
parent_window = gtk_widget_get_parent_window(widget);
gdk_window_get_origin(parent_window, &x, &y);
-
- if (parent_window != widget->window)
- {
- x += widget->allocation.x;
- y += widget->allocation.y;
- }
+ x += widget->allocation.x;
+ y += widget->allocation.y;
width = widget->allocation.width;
height = widget->allocation.height;
Please sign in to comment.
Something went wrong with that request. Please try again.