Skip to content

Commit 28afa66

Browse files
committed
Fixed not being able to use inline replies in the Control Center
1 parent 722278f commit 28afa66

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/controlCenter/controlCenter.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ namespace SwayNotificationCenter {
152152
}
153153

154154
private bool key_press_event_cb (uint keyval, uint keycode, Gdk.ModifierType state) {
155-
if (get_focus () is Gtk.Text) {
155+
if (get_focus () is Gtk.Editable) {
156156
return false;
157157
}
158158
switch (Gdk.keyval_name (keyval)) {

src/notificationGroup/notificationGroup.vala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ namespace SwayNotificationCenter {
6262
set_child (dismissible);
6363

6464
Gtk.Overlay overlay = new Gtk.Overlay ();
65-
overlay.set_can_focus (false);
6665
dismissible.child = overlay;
6766

6867
Gtk.Box box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);

0 commit comments

Comments
 (0)