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 { ...@@ -152,7 +152,7 @@ namespace SwayNotificationCenter {
} }
private bool key_press_event_cb (uint keyval, uint keycode, Gdk.ModifierType state) { 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; return false;
} }
switch (Gdk.keyval_name (keyval)) { switch (Gdk.keyval_name (keyval)) {
......
...@@ -62,7 +62,6 @@ namespace SwayNotificationCenter { ...@@ -62,7 +62,6 @@ namespace SwayNotificationCenter {
set_child (dismissible); set_child (dismissible);
Gtk.Overlay overlay = new Gtk.Overlay (); Gtk.Overlay overlay = new Gtk.Overlay ();
overlay.set_can_focus (false);
dismissible.child = overlay; dismissible.child = overlay;
Gtk.Box box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0); 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