make defining screens with main window type as non-pointer possible
This commit is contained in:
@@ -189,11 +189,6 @@ int main(int argc, char **argv)
|
||||
timeval past = { 0, 0 };
|
||||
// local variables end
|
||||
|
||||
# ifndef WIN32
|
||||
signal(SIGPIPE, sighandler);
|
||||
signal(SIGWINCH, sighandler);
|
||||
# endif // !WIN32
|
||||
|
||||
mouseinterval(0);
|
||||
if (Config.mouse_support)
|
||||
mousemask(ALL_MOUSE_EVENTS, 0);
|
||||
@@ -207,6 +202,11 @@ int main(int argc, char **argv)
|
||||
myPlaylist->main()->highlight(curr_pos);
|
||||
}
|
||||
|
||||
# ifndef WIN32
|
||||
signal(SIGPIPE, sighandler);
|
||||
signal(SIGWINCH, sighandler);
|
||||
# endif // !WIN32
|
||||
|
||||
while (!Action::ExitMainLoop)
|
||||
{
|
||||
if (!Mpd.Connected())
|
||||
|
||||
Reference in New Issue
Block a user