Tanu Kaskinen pushed to branch master at PulseAudio / pavucontrol

Commits:
1035910f by Andreas Rönnquist at 2019-02-09T07:23:48Z
Remove closing window by pressing Esc

Disable closing using Esc, to avoid closing the window by mistake.

- - - - -


1 changed file:

- src/mainwindow.cc


Changes:

=====================================
src/mainwindow.cc
=====================================
@@ -201,10 +201,6 @@ void MainWindow::on_realize() {
 
 bool MainWindow::on_key_press_event(GdkEventKey* event) {
 
-    if (GDK_KEY_Escape == event->keyval) {
-        Gtk::Main::quit();
-        return true;
-    }
     if (event->state & GDK_CONTROL_MASK) {
         switch (event->keyval) {
             case GDK_KEY_KP_1:



View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pavucontrol/commit/1035910f45626c6ad77681f212d4a3123f0b985d

-- 
View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pavucontrol/commit/1035910f45626c6ad77681f212d4a3123f0b985d
You're receiving this email because of your account on gitlab.freedesktop.org.
_______________________________________________
pulseaudio-commits mailing list
pulseaudio-commits@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits

Reply via email to