Launcher: Add screen_get_sel before choose selected screen to draw launcher.
This commit is contained in:
parent
5d1c52d0b8
commit
c7948f8d3a
@ -43,6 +43,8 @@ launcher_execute(Launcher launcher)
|
||||
BarWindow *bw;
|
||||
Bool my_guitar_gently_wheeps = True;
|
||||
|
||||
screen_get_sel();
|
||||
|
||||
int x = (infobar[selscreen].layout_button->geo.x
|
||||
+ textw(tags[selscreen][seltag[selscreen]].layout.symbol) + PAD);
|
||||
|
||||
|
||||
@ -138,7 +138,7 @@ screen_get_sel(void)
|
||||
{
|
||||
if(XineramaIsActive(dpy))
|
||||
{
|
||||
/* Unused variables */
|
||||
/* Unused variables (except x/y) */
|
||||
Window w;
|
||||
int d, u, x, y;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user