]> icculus.org git repositories - dana/openbox.git/commit
Make the obt_watch functionality work without inotify (via manual refreshes).
authorDana Jansens <danakj@orodu.net>
Sun, 24 Jul 2011 22:13:36 +0000 (18:13 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 30 Sep 2012 16:05:58 +0000 (12:05 -0400)
commit6fe270bc1c42c8fd454d1957b831c297af582215
treec57ea451ee6be9549e8b14f93d47d696f37a7928
parent6df4ce72839260676f348376bd10348c34d3b234
Make the obt_watch functionality work without inotify (via manual refreshes).

Adds obt/watch_manual.c which is a filler for when watch_inotify.c can't be
  used.  Other watch_foo.c may also exist in the future I hope.
Adds obt/watch_interface.h which the inotify (and others) subsystem can use
  to call back notification to the main watch system that events have
  occured.
Keep track of all files being watched within the main watch system, so that if
  a directory disappears, we can report the files inside it being removed.
  This change moved a lot of the recursive functionality out from
  watch_inotify.c into the main watch.c, making it much more simple and should
  help make it much easier to add other watch_foo.c subsystems.
Makefile.am
obt/linkbase.c
obt/tests/watchtest.c
obt/watch.c
obt/watch.h
obt/watch_inotify.c
obt/watch_interface.h [new file with mode: 0644]
obt/watch_manual.c [new file with mode: 0644]