rename uicb_*mouse to uicb_client_*mouse
This commit is contained in:
parent
85adc07d19
commit
895c3848eb
|
@ -169,7 +169,7 @@ mouse
|
|||
{
|
||||
modkey = {"Mod4"}
|
||||
button = "1"
|
||||
command = "movemouse"
|
||||
command = "client_movemouse"
|
||||
}
|
||||
client
|
||||
{
|
||||
|
@ -181,7 +181,7 @@ mouse
|
|||
{
|
||||
modkey = {"Mod4"}
|
||||
button = "3"
|
||||
command = "resizemouse"
|
||||
command = "client_resizemouse"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
4
config.c
4
config.c
|
@ -103,8 +103,8 @@ const NameFuncLink UicbList[] = {
|
|||
{"reloadconfig", uicb_reloadconfig},
|
||||
{"setstatustext", uicb_setstatustext},
|
||||
/* mouse.c */
|
||||
{"movemouse", uicb_movemouse},
|
||||
{"resizemouse", uicb_resizemouse},
|
||||
{"client_movemouse", uicb_client_movemouse},
|
||||
{"client_resizemouse", uicb_client_resizemouse},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
|
|
4
mouse.c
4
mouse.c
|
@ -29,7 +29,7 @@
|
|||
#include "layouts/floating.h"
|
||||
|
||||
void
|
||||
uicb_movemouse(awesome_config *awesomeconf, const char *arg __attribute__ ((unused)))
|
||||
uicb_client_movemouse(awesome_config *awesomeconf, const char *arg __attribute__ ((unused)))
|
||||
{
|
||||
int x1, y1, ocx, ocy, di, nx, ny;
|
||||
unsigned int dui;
|
||||
|
@ -92,7 +92,7 @@ uicb_movemouse(awesome_config *awesomeconf, const char *arg __attribute__ ((unus
|
|||
}
|
||||
|
||||
void
|
||||
uicb_resizemouse(awesome_config *awesomeconf, const char *arg __attribute__ ((unused)))
|
||||
uicb_client_resizemouse(awesome_config *awesomeconf, const char *arg __attribute__ ((unused)))
|
||||
{
|
||||
int ocx, ocy, nw, nh;
|
||||
XEvent ev;
|
||||
|
|
4
mouse.h
4
mouse.h
|
@ -26,8 +26,8 @@
|
|||
|
||||
#define MOUSEMASK (BUTTONMASK | PointerMotionMask)
|
||||
|
||||
UICB_PROTO(uicb_movemouse);
|
||||
UICB_PROTO(uicb_resizemouse);
|
||||
UICB_PROTO(uicb_client_movemouse);
|
||||
UICB_PROTO(uicb_client_resizemouse);
|
||||
|
||||
#endif
|
||||
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99
|
||||
|
|
Loading…
Reference in New Issue