diff options
author | okan | 2011-06-24 06:09:26 +0000 |
---|---|---|
committer | okan | 2011-06-24 06:09:26 +0000 |
commit | feff015aa1ac96d5c2ef8cc9b6413f4aa8ed2b8a (patch) | |
tree | 71c0934876b7eb9860aa0dc5db3a6ce44d2ab347 /mousefunc.c | |
parent | ab4a3c9a9f59f702603e19f3eb3508a815521d6c (diff) | |
download | cwm-feff015aa1ac96d5c2ef8cc9b6413f4aa8ed2b8a.tar.gz |
New option to raise a client via the mouse (unbound by default);
opposing action, lower, already exists and bound. Both keyboard
mappings already exist.
'no opinion either way' oga@
Diffstat (limited to '')
-rw-r--r-- | mousefunc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mousefunc.c b/mousefunc.c index e38873e..c296d75 100644 --- a/mousefunc.c +++ b/mousefunc.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: mousefunc.c,v 1.29 2011/06/24 06:06:24 okan Exp $ + * $OpenBSD: mousefunc.c,v 1.30 2011/06/24 06:09:26 okan Exp $ */ #include <sys/param.h> @@ -197,6 +197,12 @@ mousefunc_window_lower(struct client_ctx *cc, void *arg) } void +mousefunc_window_raise(struct client_ctx *cc, void *arg) +{ + client_raise(cc); +} + +void mousefunc_window_hide(struct client_ctx *cc, void *arg) { client_hide(cc); |