[PATCH] WINGs: remove unnecessary warning in wtextfield

2 views
Skip to first unread message

david.m...@gmail.com

unread,
Feb 6, 2026, 1:10:23 PMFeb 6
to Window Maker Development
Since 77db6dc649eb96d85d9e13e118a90517e1e17eed commit,
right and center alignments are working in wtextfield.
---
 WINGs/wtextfield.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/WINGs/wtextfield.c b/WINGs/wtextfield.c
index 6a4d9ef2..52b577e5 100644
--- a/WINGs/wtextfield.c
+++ b/WINGs/wtextfield.c
@@ -497,11 +497,6 @@ void WMSetTextFieldAlignment(WMTextField * tPtr, WMAlignment alignment)
 
  tPtr->flags.alignment = alignment;
 
- if (alignment != WALeft) {
- wwarning(_("only left alignment is supported in textfields"));
- return;
- }
-
  if (tPtr->view->flags.realized) {
  paintTextField(tPtr);
  }
--
2.43.0
0001-WINGs-remove-unnecessary-warning-in-wtextfield.patch
Reply all
Reply to author
Forward
0 new messages