[nwjs/nw.js] 74dd25: fix crash when registering global shortcut on Wayland

0 views
Skip to first unread message

commits...@nwjs.io

unread,
Apr 21, 2026, 3:40:41 PM (5 days ago) Apr 21
to node-we...@googlegroups.com, ro...@nwjs.io
Branch: refs/heads/main
Home: https://api.github.com/repos/nwjs/nw.js
Commit: 74dd2598bdb774846d510f4003b3fb8744ab676a
https://github.com/nwjs/nw.js/commit/74dd2598bdb774846d510f4003b3fb8744ab676a
Author: Kevin Fan <k...@gnor.net>
Date: 2026-04-21 13:40:28 -0600 -0600

Changed paths:
M src/api/nw_shortcut_api.cc

Log Message:
-----------
fix crash when registering global shortcut on Wayland

GlobalAcceleratorListener::GetInstance() returns null when the
platform doesn't support global shortcuts (e.g. GNOME Wayland).


Reply all
Reply to author
Forward
0 new messages