Commit 28afa666 authored by Erik Reider's avatar Erik Reider

Fixed not being able to use inline replies in the Control Center

parent 722278f3
......@@ -152,7 +152,7 @@ namespace SwayNotificationCenter {
}
private bool key_press_event_cb (uint keyval, uint keycode, Gdk.ModifierType state) {
if (get_focus () is Gtk.Text) {
if (get_focus () is Gtk.Editable) {
return false;
}
switch (Gdk.keyval_name (keyval)) {
......
......@@ -62,7 +62,6 @@ namespace SwayNotificationCenter {
set_child (dismissible);
Gtk.Overlay overlay = new Gtk.Overlay ();
overlay.set_can_focus (false);
dismissible.child = overlay;
Gtk.Box box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment