[PATCH] wmaker: filter inotify events only to expected config files
5 views
Skip to first unread message
david.m...@gmail.com
unread,
Mar 4, 2026, 4:40:12 PM (13 days ago) Mar 4
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Window Maker Development
This patch is checking if the notification wmaker is receiving from the Defaults directory is coming from a proper expected config file. Until now, using vim for example to open any of the files, for example WMRootMenu would reload the configs, even before saving the file. You would see in the logs: warning: Inotify: Reading config files in defaults database.
because vim by default is creating a .swp file in that same directory. --- src/event.c | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-)