diff options
author | David Robillard <d@drobilla.net> | 2008-02-22 20:24:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-02-22 20:24:56 +0000 |
commit | 4fc3cce4f5246ffcb81cc53a1a57e1ac486dcace (patch) | |
tree | 0405e5a0a7ead77343631bceaa2e8e46dad0fa1b | |
parent | 60d6a432cd9a9754e4e3112aee023d0189ab93bc (diff) | |
download | patchage-4fc3cce4f5246ffcb81cc53a1a57e1ac486dcace.tar.gz patchage-4fc3cce4f5246ffcb81cc53a1a57e1ac486dcace.tar.bz2 patchage-4fc3cce4f5246ffcb81cc53a1a57e1ac486dcace.zip |
Fix zoom font sizes (kinda).
Fix patchage window position/size restoration idiocy (maybe).
git-svn-id: http://svn.drobilla.net/lad/patchage@1155 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/AlsaDriver.cpp | 2 | ||||
-rw-r--r-- | src/Patchage.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp index aeca506..6fa90fc 100644 --- a/src/AlsaDriver.cpp +++ b/src/AlsaDriver.cpp @@ -130,7 +130,7 @@ AlsaDriver::refresh_ports() snd_seq_client_info_alloca(&cinfo); snd_seq_client_info_set_client(cinfo, -1); - snd_seq_port_info_t * pinfo; + snd_seq_port_info_t* pinfo; snd_seq_port_info_alloca(&pinfo); string client_name; diff --git a/src/Patchage.cpp b/src/Patchage.cpp index a499d0d..e41b875 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -228,7 +228,8 @@ Patchage::Patchage(int argc, char** argv) sigc::mem_fun(this, &Patchage::on_messages_delete)); _canvas->show(); - + _main_win->present(); + _main_win->resize( static_cast<int>(_state_manager->get_window_size().x), static_cast<int>(_state_manager->get_window_size().y)); @@ -237,7 +238,6 @@ Patchage::Patchage(int argc, char** argv) static_cast<int>(_state_manager->get_window_location().x), static_cast<int>(_state_manager->get_window_location().y)); - _main_win->present(); _about_win->set_transient_for(*_main_win); _jack_driver = new JackDriver(this); |