Ticket #14832 (closed enhancement: fixed)

Opened 6 months ago

Last modified 6 months ago

wxFileSystemWatcher: Implement watching individual types of event in wxGTK

Reported by: dghart Owned by:
Priority: normal Milestone: 2.9.5
Component: base Version: 2.9-svn
Keywords: wxFileSystemWatcher event Cc:
Blocked By: Patch: yes
Blocking:

Description

Currently, a wxFileSystemWatcher watch receives all types of native event. The API is there to restrict this to one or more types but this is not actually implemented on any platform.

The attached patch does so for wxGTK, and tests and documents it.

Attachments

fswatcher.diff download (5.5 KB) - added by dghart 6 months ago.

Change History

Changed 6 months ago by dghart

Changed 6 months ago by VZ

  • status changed from new to closed
  • resolution set to fixed

(In [72961]) Support monitoring only some events in wxGTK wxFileSystemWatcher.

Call inotify() with the appropriate flags instead of always using IN_ALL_EVENTS.

Closes #14832.

Note: See TracTickets for help on using tickets.