mirror of
https://github.com/lbonn/rofi
synced 2024-11-15 08:37:17 +00:00
Hack to make it work in i3. (will be redone better)
This commit is contained in:
parent
8910607591
commit
0c1f04f86b
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue