From 47e7ad7771fc361962fdc169caf7c1a3ed875a1d Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 11 Nov 2006 10:12:00 +0000 Subject: (svn r7130) -Codechange: Handle the positioning of windows through the desc->left/top settings with some special values (WDP_) instead of checking window-class. This also fixes FS#172 now that we can position windows arbitrarily and are not restricted to window-classes. --- rail_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rail_gui.c') diff --git a/rail_gui.c b/rail_gui.c index 548ad88b4..722579002 100644 --- a/rail_gui.c +++ b/rail_gui.c @@ -544,7 +544,7 @@ static const Widget _build_rail_widgets[] = { }; static const WindowDesc _build_rail_desc = { - 0, 22, 372, 36, + WDP_ALIGN_TBR, 22, 372, 36, WC_BUILD_TOOLBAR, 0, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON, _build_rail_widgets, -- cgit v1.2.3-54-g00ecf