Fix Dropdown issue

This commit is contained in:
2026-10-18 20:26:22 +02:00
parent 95f101c0c9
commit 673af1ae43
23 changed files with 2219 additions and 975 deletions

View File

@@ -24,6 +24,16 @@ inline constexpr const char* kBusName = "dev.rager.gkeymapper.Daemon";
inline constexpr const char* kObjectPath = "/dev/rager/gkeymapper/Daemon";
inline constexpr const char* kInterface = "dev.rager.gkeymapper.Daemon";
// Where the GUI answers a second start (see src/singleinstance and src/main.cpp):
// it hands out the rows its window shows, so an instance that is replaced does not
// take unsaved edits with it. The name is the app id itself - GtkApplication owns
// that (see kBusName above), and the GUI is not a service, it only answers while a
// window is up.
inline constexpr const char* kWindowObjectPath = "/dev/rager/gkeymapper/Window";
inline constexpr const char* kWindowInterface = "dev.rager.gkeymapper.Window";
// The one method: no arguments, the rows as the mappings text (the file format).
inline constexpr const char* kWindowRowsMethod = "GetRows";
} // namespace gkeymapper::ipc
#endif // GKEYMAPPER_IPC_IDS_H