Launcher: Add screen_get_sel before choose selected screen to draw launcher.

This commit is contained in:
Martin Duquesnoy 2009-05-29 00:00:39 +02:00
parent 5d1c52d0b8
commit c7948f8d3a
2 changed files with 3 additions and 1 deletions

View File

@ -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);

View File

@ -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;