summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2009-11-02 19:50:49 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2011-09-01 13:16:33 +0100
commitd052b89cc331f7b3894b4a4e9cb3490eb5df2c69 (patch)
tree7a0ce00b319a89981de1b271471e2efb8f960b74 /mi
parent0caeef6146bee5fb1827ab25db191685dde9d4b4 (diff)
Replace DDXBEFORERESET with a more general way of doing DDX-specific hooks
Replace DDXBEFORERESET, which was introduced for the sole benefit of XWin in commit 048045a9, with a slightly more general way of doing DDX-specific hooks, still for the sole benefit of XWin :-) Use a structure of function pointers, which can be initialized as required by the specific DDX Add DDXMAIN to control if the DIX calls ddxMain(), which can be used by the DDX to initialize ddxHooks as required. Provide a ddxMain() in the XWin DDX which initializes the ddxBeforeReset hook. Unfortunately, this retains the behaviour that all DDX built at the same time must provide that function, whether they need it or not, but there doesn't seem to be a clean way around that. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diffstat (limited to 'mi')
0 files changed, 0 insertions, 0 deletions