mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 07:02:30 +00:00
* Added posix_fallocate to File::reserve, though it is disabled by
default. * Added some checks to the keyboard input code in the client, perhaps it'll fix the bug some OpenBSD people are encountering. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@501 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -241,6 +241,9 @@ DownloadList::receive_check_hash() {
|
||||
|
||||
void
|
||||
DownloadList::receive_view_input(bool useDefault) {
|
||||
if (m_windowTextInput->get_active())
|
||||
return;
|
||||
|
||||
m_control->get_ui().window_statusbar()->set_active(false);
|
||||
m_windowTextInput->set_active(true);
|
||||
m_control->get_display().adjust_layout();
|
||||
@@ -255,6 +258,9 @@ DownloadList::receive_view_input(bool useDefault) {
|
||||
|
||||
void
|
||||
DownloadList::receive_exit_input(bool useDefault) {
|
||||
if (!m_windowTextInput->get_active())
|
||||
return;
|
||||
|
||||
m_control->get_ui().window_statusbar()->set_active(true);
|
||||
m_windowTextInput->set_active(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user