From feff015aa1ac96d5c2ef8cc9b6413f4aa8ed2b8a Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 24 Jun 2011 06:09:26 +0000 Subject: 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@ --- mousefunc.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'mousefunc.c') 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 @@ -196,6 +196,12 @@ mousefunc_window_lower(struct client_ctx *cc, void *arg) client_lower(cc); } +void +mousefunc_window_raise(struct client_ctx *cc, void *arg) +{ + client_raise(cc); +} + void mousefunc_window_hide(struct client_ctx *cc, void *arg) { -- cgit v1.2.3-2-gb3c3