summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-12-14 15:06:38 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-12-14 15:06:38 +0200
commitd3595f9c51adf498e9d3b3cec4e9a3849bf56311 (patch)
treeca8c64f743c4bc248cea7b67f64c6019c723c507
parent9069f757dead4096d75b42e8090313c101b57da2 (diff)
Widget: Checking if visual offset applies
-rw-r--r--src/ui/widget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c
index 9f1c8640..0c3b1c8a 100644
--- a/src/ui/widget.c
+++ b/src/ui/widget.c
@@ -1980,6 +1980,9 @@ iBool isAffectedByVisualOffset_Widget(const iWidget *d) {
1980 if (w->flags & visualOffset_WidgetFlag) { 1980 if (w->flags & visualOffset_WidgetFlag) {
1981 return iTrue; 1981 return iTrue;
1982 } 1982 }
1983 if (visualOffsetByReference_Widget(w) != 0) {
1984 return iTrue;
1985 }
1983 } 1986 }
1984 return iFalse; 1987 return iFalse;
1985} 1988}