From 4191adb92cbd9a1cb02b7a913fa90d62ee32ec31 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Tue, 29 Nov 2005 22:04:02 +0000 Subject: (svn r3247) - Fix: "[ 1335580 ] sticky windows not sticky anymore" Determine clicked status of sticky icon from window flags rather than the widget click state. This keeps the status in one place where it can't get out of sync. --- player_gui.c | 1 - 1 file changed, 1 deletion(-) (limited to 'player_gui.c') diff --git a/player_gui.c b/player_gui.c index 67fa40041..26561b8a1 100644 --- a/player_gui.c +++ b/player_gui.c @@ -235,7 +235,6 @@ static void DoShowPlayerFinances(PlayerID player, bool show_small, bool show_sti WP(w,def_d).data_1 = mode; if (show_stickied) { w->flags4 |= WF_STICKY; - w->click_state ^= (1 << 3); } } } -- cgit v1.2.3-54-g00ecf