summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc_gui.c')
-rw-r--r--misc_gui.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/misc_gui.c b/misc_gui.c
index 8e9bfbb86..c3dc9dc9e 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -735,12 +735,7 @@ void UnclickSomeWindowButtons(Window *w, uint32 mask)
void UnclickWindowButtons(Window *w)
{
- bool sticky = false;
- if (w->desc_flags & WDF_STICKY_BUTTON && HASBIT(w->click_state, 2)) sticky = true;
-
UnclickSomeWindowButtons(w, (uint32)-1);
-
- if (sticky) SETBIT(w->click_state, 2);
}