Hack to make it work in i3. (will be redone better)

This commit is contained in:
QC 2013-02-16 15:22:21 +01:00
parent 8910607591
commit 0c1f04f86b

View file

@ -955,6 +955,11 @@ void run_switcher(int mode, int fmode)
}
window_send_message(root, ids->array[n], netatoms[_NET_ACTIVE_WINDOW], 2, // 2 = pager
SubstructureNotifyMask | SubstructureRedirectMask, time);
// Hack for i3.
char array[128];
snprintf(array,128,"i3-msg [id=\"%d\"] focus",ids->array[n]);
exec_cmd(array);
}
else
// act as a launcher