aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2013-07-08 18:19:22 +0000
committerokan2013-07-08 18:19:22 +0000
commit63e9ed547d2b6c27553b71a57d79d8afce15e2c5 (patch)
treecfbef2a3adb561b9f40967b03f889f031f4e02cf /calmwm.h
parent90507e8e1a2ac93497684c584678e705e658dea7 (diff)
downloadcwm-63e9ed547d2b6c27553b71a57d79d8afce15e2c5.tar.gz
move kbfunc and mousefunc closer together
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/calmwm.h b/calmwm.h
index dbf2675..c3a68d9 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: calmwm.h,v 1.214 2013/07/08 16:32:51 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.215 2013/07/08 18:19:22 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -258,7 +258,7 @@ struct mousebinding {
u_int button;
#define MOUSEBIND_CTX_ROOT 0x0001
#define MOUSEBIND_CTX_WIN 0x0002
- int context;
+ int flags;
};
TAILQ_HEAD(mousebinding_q, mousebinding);
@@ -403,6 +403,8 @@ void kbfunc_client_label(struct client_ctx *, union arg *);
void kbfunc_client_lower(struct client_ctx *, union arg *);
void kbfunc_client_maximize(struct client_ctx *,
union arg *);
+void kbfunc_client_moveresize(struct client_ctx *,
+ union arg *);
void kbfunc_client_movetogroup(struct client_ctx *,
union arg *);
void kbfunc_client_nogroup(struct client_ctx *,
@@ -416,23 +418,22 @@ void kbfunc_cmdexec(struct client_ctx *, union arg *);
void kbfunc_exec(struct client_ctx *, union arg *);
void kbfunc_lock(struct client_ctx *, union arg *);
void kbfunc_menu_search(struct client_ctx *, union arg *);
-void kbfunc_moveresize(struct client_ctx *, union arg *);
void kbfunc_quit_wm(struct client_ctx *, union arg *);
void kbfunc_restart(struct client_ctx *, union arg *);
void kbfunc_ssh(struct client_ctx *, union arg *);
void kbfunc_term(struct client_ctx *, union arg *);
void kbfunc_tile(struct client_ctx *, union arg *);
+void mousefunc_client_grouptoggle(struct client_ctx *,
+ void *);
+void mousefunc_client_hide(struct client_ctx *, void *);
+void mousefunc_client_lower(struct client_ctx *, void *);
+void mousefunc_client_move(struct client_ctx *, void *);
+void mousefunc_client_raise(struct client_ctx *, void *);
+void mousefunc_client_resize(struct client_ctx *, void *);
void mousefunc_menu_cmd(struct client_ctx *, void *);
void mousefunc_menu_group(struct client_ctx *, void *);
void mousefunc_menu_unhide(struct client_ctx *, void *);
-void mousefunc_window_grouptoggle(struct client_ctx *,
- void *);
-void mousefunc_window_hide(struct client_ctx *, void *);
-void mousefunc_window_lower(struct client_ctx *, void *);
-void mousefunc_window_move(struct client_ctx *, void *);
-void mousefunc_window_raise(struct client_ctx *, void *);
-void mousefunc_window_resize(struct client_ctx *, void *);
struct menu *menu_filter(struct screen_ctx *, struct menu_q *,
char *, char *, int,