mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 21:16:21 +00:00
Move current win check to event, removed next and prev win functions
This commit is contained in:
@@ -33,11 +33,14 @@
|
||||
*/
|
||||
|
||||
#include "ui/ui.h"
|
||||
#include "ui/windows.h"
|
||||
|
||||
void
|
||||
ui_ev_focus_win(ProfWin *win)
|
||||
{
|
||||
ui_switch_win(win);
|
||||
if (!wins_is_current(win)) {
|
||||
ui_switch_win(win);
|
||||
}
|
||||
}
|
||||
|
||||
ProfChatWin*
|
||||
|
||||
Reference in New Issue
Block a user