@@ -207,7 +207,7 @@ static HWINEVENTHOOK wineventhook;
207
207
static HFONT font ;
208
208
static wchar_t stext [256 ];
209
209
static 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 */
211
211
static int wx , wy , ww , wh ; /* window area geometry x, y, width, height, bar excluded */
212
212
static unsigned int seltags , sellt ;
213
213
@@ -1527,7 +1527,7 @@ unmanage(Client *c) {
1527
1527
1528
1528
void
1529
1529
updatebar (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 );
1531
1531
}
1532
1532
1533
1533
void
@@ -1550,6 +1550,7 @@ updategeom(void) {
1550
1550
sh = GetSystemMetrics (SM_CYVIRTUALSCREEN );
1551
1551
}
1552
1552
1553
+ bx = sx ;
1553
1554
bh = 20 ; /* XXX: fixed value */
1554
1555
1555
1556
/* window area geometry */
0 commit comments