diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-02-09 18:48:56 -0500 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2008-02-14 19:39:17 +0100 |
| commit | 38bef0a38bf907a54c193ab063b4830788398edc (patch) | |
| tree | c1825249fa822207d12d0d8144608a410869441b /openbox/mouse.h | |
| parent | c907f5af4ad16b1b0ddcf9a17e1a196a079dd09a (diff) | |
Make a pending ReplayPointer happen before moving/showing/hiding a window in an action.
Commit c907f5af4ad16b1 broke kdesktop again, so we have to fix it at an even finer level.
Diffstat (limited to 'openbox/mouse.h')
| -rw-r--r-- | openbox/mouse.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/mouse.h b/openbox/mouse.h index 44d563a3..a862fe5b 100644 --- a/openbox/mouse.h +++ b/openbox/mouse.h @@ -40,4 +40,9 @@ void mouse_grab_for_client(struct _ObClient *client, gboolean grab); ObFrameContext mouse_button_frame_context(ObFrameContext context, guint button, guint state); +/*! If a replay pointer is needed, then do it. Call this when windows are + going to be moving/appearing/disappearing, so that you know the mouse click + will go to the right window */ +void mouse_replay_pointer(); + #endif |
