static const char *cvstag = "$scrotwm$";
-#define SWM_VERSION "0.7"
+#define SWM_VERSION "0.8"
#include <stdio.h>
#include <stdlib.h>
set_win_state(win, NormalState);
- /* floaters need this */
- if (win->floating)
+ /* floaters need to be mapped if they are in the current workspace */
+ if (win->floating && (ws->idx == r->ws->idx))
XMapRaised(display, win->id);
/* make new win focused */