summaryrefslogtreecommitdiff
blob: 44f92ee9884a1b727fe7c56469e6964f68d469cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: stardict-2.4.8/src/floatwin.cpp
===================================================================
--- stardict-2.4.8.orig/src/floatwin.cpp
+++ stardict-2.4.8/src/floatwin.cpp
@@ -788,7 +788,7 @@ gboolean FloatWin::vButtonReleaseCallbac
 
 gboolean FloatWin::vMotionNotifyCallback (GtkWidget * widget, GdkEventMotion * event , FloatWin *oFloatWin)
 {
-	if (event->window == oFloatWin->FloatWindow->window || (event->state & GDK_BUTTON1_MASK))
+	if (event->state & GDK_BUTTON1_MASK)
 	{
 		gint x,y;
 		x = oFloatWin->press_window_x + (gint)(event->x_root) - oFloatWin->press_x_root;