Fix #56, set WM_CLASS

This commit is contained in:
daa 2018-02-10 12:16:28 +03:00
parent cbf927acab
commit a5e84af96a

View File

@ -67,6 +67,8 @@ fn main() {
let app_flags = gio::ApplicationFlags::HANDLES_OPEN | gio::ApplicationFlags::NON_UNIQUE;
glib::set_program_name(Some("NeovimGtk"));
let app = if cfg!(debug_assertions) {
gtk::Application::new(Some("org.daa.NeovimGtkDebug"), app_flags)
} else {