Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-shell-notification-center
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-shell-notification-center
Commits
f55b433e
Commit
f55b433e
authored
Apr 13, 2025
by
Erik Reider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed inline replies not displaying and not grabbing keyboard input in CC. Fixes #542
parent
6d5077eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
controlCenter.vala
src/controlCenter/controlCenter.vala
+3
-1
notification.vala
src/notification/notification.vala
+1
-1
No files found.
src/controlCenter/controlCenter.vala
View file @
f55b433e
...
@@ -257,7 +257,9 @@ namespace SwayNotificationCenter {
...
@@ -257,7 +257,9 @@ 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
(
this
.
get_focus
()
is
Gtk
.
Entry
)
return
false
;
if
(
get_focus
()
is
Gtk
.
Text
)
{
return
false
;
}
var
children
=
list_box_controller
.
get_children
();
var
children
=
list_box_controller
.
get_children
();
var
group
=
(
NotificationGroup
)
list_box
.
get_focus_child
();
var
group
=
(
NotificationGroup
)
list_box
.
get_focus_child
();
switch
(
Gdk
.
keyval_name
(
keyval
))
{
switch
(
Gdk
.
keyval_name
(
keyval
))
{
...
...
src/notification/notification.vala
View file @
f55b433e
...
@@ -535,7 +535,7 @@ namespace SwayNotificationCenter {
...
@@ -535,7 +535,7 @@ namespace SwayNotificationCenter {
// supports ON_DEMAND layer shell keyboard interactivity
// supports ON_DEMAND layer shell keyboard interactivity
if
(!
ConfigModel
.
instance
.
notification_inline_replies
if
(!
ConfigModel
.
instance
.
notification_inline_replies
||
(
ConfigModel
.
instance
.
layer_shell
||
(
ConfigModel
.
instance
.
layer_shell
&&
swaync_daemon
.
has_layer_on_demand
&&
!
swaync_daemon
.
has_layer_on_demand
&&
notification_type
==
NotificationType
.
POPUP
))
{
&&
notification_type
==
NotificationType
.
POPUP
))
{
return
;
return
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment