buttons: Fix dragbar rendering when direction is changed when compositing

Possibly also fixing other button issues (when compositing).

Reported by Milan Maljković.
This commit is contained in:
Kim Woelders 2023-09-20 20:31:30 +02:00
parent 8cf668e9c0
commit 3d872d0fe2
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
/*
* Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
* Copyright (C) 2004-2021 Kim Woelders
* Copyright (C) 2004-2023 Kim Woelders
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
@ -193,6 +193,7 @@ ButtonDestroy(Button * b)
LIST_REMOVE(Button, &button_list, b);
EoUnmap(b);
EoFini(b);
ImageclassFree(b->iclass);