@@ -207,7 +207,7 @@ static HWINEVENTHOOK wineventhook;
207207static HFONT font ;
208208static wchar_t stext [256 ];
209209static int sx , sy , sw , sh ; /* X display screen geometry x, y, width, height */
210- static int by , bh , blw ; /* bar geometry y, height and layout symbol width */
210+ static int bx , by , bh , blw ; /* bar geometry x, y, height and layout symbol width */
211211static int wx , wy , ww , wh ; /* window area geometry x, y, width, height, bar excluded */
212212static unsigned int seltags , sellt ;
213213
@@ -1527,7 +1527,7 @@ unmanage(Client *c) {
15271527
15281528void
15291529updatebar (void ) {
1530- SetWindowPos (barhwnd , showbar ? HWND_TOPMOST : HWND_NOTOPMOST , 0 , by , ww , bh , (showbar ? SWP_SHOWWINDOW : SWP_HIDEWINDOW ) | SWP_NOACTIVATE | SWP_NOSENDCHANGING );
1530+ SetWindowPos (barhwnd , showbar ? HWND_TOPMOST : HWND_NOTOPMOST , bx , by , ww , bh , (showbar ? SWP_SHOWWINDOW : SWP_HIDEWINDOW ) | SWP_NOACTIVATE | SWP_NOSENDCHANGING );
15311531}
15321532
15331533void
@@ -1550,6 +1550,7 @@ updategeom(void) {
15501550 sh = GetSystemMetrics (SM_CYVIRTUALSCREEN );
15511551 }
15521552
1553+ bx = sx ;
15531554 bh = 20 ; /* XXX: fixed value */
15541555
15551556 /* window area geometry */
0 commit comments