diff options
Diffstat (limited to 'miext/rootless/rootless.h')
-rw-r--r-- | miext/rootless/rootless.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/miext/rootless/rootless.h b/miext/rootless/rootless.h index d87b08da1..7612f00fa 100644 --- a/miext/rootless/rootless.h +++ b/miext/rootless/rootless.h @@ -267,6 +267,20 @@ typedef void (*RootlessSwitchWindowProc) (RootlessWindowPtr pFrame, WindowPtr oldWin); /* + * Check if window should be reordered. (Optional) + * The underlying window system may animate windows being ordered in. + * We want them to be mapped but remain ordered out until the animation + * completes. If defined this function will be called to check if a + * framed window should be reordered now. If this function returns + * FALSE, the window will still be mapped from the X11 perspective, but + * the RestackFrame function will not be called for its frame. + * + * pFrame Frame to reorder + */ +typedef Bool (*RootlessDoReorderWindowProc) + (RootlessWindowPtr pFrame); + +/* * Copy bytes. (Optional) * Source and destinate may overlap and the right thing should happen. * @@ -354,6 +368,7 @@ typedef struct _RootlessFrameProcs { /* Optional frame functions */ RootlessSwitchWindowProc SwitchWindow; + RootlessDoReorderWindowProc DoReorderWindow; /* Optional acceleration functions */ RootlessCopyBytesProc CopyBytes; |