rename uicb_togglefloating to uicb_client_togglefloating

This commit is contained in:
Julien Danjou 2007-11-14 17:59:56 +01:00
parent 5b0987bb28
commit f4390bfc3e
5 changed files with 6 additions and 6 deletions

View File

@ -326,7 +326,7 @@ keys
{ {
modkey = {"Mod4", "Control"} modkey = {"Mod4", "Control"}
key = "space" key = "space"
command = "togglefloating" command = "client_togglefloating"
} }
key key
{ {

View File

@ -72,7 +72,7 @@ const NameFuncLink UicbList[] = {
{"client_swapprev", uicb_client_swapprev}, {"client_swapprev", uicb_client_swapprev},
/* tag.c */ /* tag.c */
{"client_tag", uicb_client_tag}, {"client_tag", uicb_client_tag},
{"togglefloating", uicb_togglefloating}, {"client_togglefloating", uicb_client_togglefloating},
{"toggleview", uicb_toggleview}, {"toggleview", uicb_toggleview},
{"toggletag", uicb_toggletag}, {"toggletag", uicb_toggletag},
{"view", uicb_view}, {"view", uicb_view},

View File

@ -43,7 +43,7 @@ uicb_movemouse(awesome_config *awesomeconf, const char *arg __attribute__ ((unus
if((get_current_layout(awesomeconf->tags, awesomeconf->ntags)->arrange != layout_floating) if((get_current_layout(awesomeconf->tags, awesomeconf->ntags)->arrange != layout_floating)
&& !c->isfloating) && !c->isfloating)
uicb_togglefloating(awesomeconf, "DUMMY"); uicb_client_togglefloating(awesomeconf, "DUMMY");
else else
restack(awesomeconf); restack(awesomeconf);
@ -103,7 +103,7 @@ uicb_resizemouse(awesome_config *awesomeconf, const char *arg __attribute__ ((un
if((get_current_layout(awesomeconf->tags, awesomeconf->ntags)->arrange != layout_floating) if((get_current_layout(awesomeconf->tags, awesomeconf->ntags)->arrange != layout_floating)
&& !c->isfloating) && !c->isfloating)
uicb_togglefloating(awesomeconf, "DUMMY"); uicb_client_togglefloating(awesomeconf, "DUMMY");
else else
restack(awesomeconf); restack(awesomeconf);

2
tag.c
View File

@ -90,7 +90,7 @@ uicb_client_tag(awesome_config *awesomeconf,
* \ingroup ui_callback * \ingroup ui_callback
*/ */
void void
uicb_togglefloating(awesome_config * awesomeconf, uicb_client_togglefloating(awesome_config * awesomeconf,
const char *arg __attribute__ ((unused))) const char *arg __attribute__ ((unused)))
{ {
Client *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel; Client *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel;

2
tag.h
View File

@ -31,7 +31,7 @@ Bool isvisible(Client *, int, Tag *, int);
void tag_client_with_current_selected(Client *, awesome_config *); void tag_client_with_current_selected(Client *, awesome_config *);
UICB_PROTO(uicb_client_tag); UICB_PROTO(uicb_client_tag);
UICB_PROTO(uicb_togglefloating); UICB_PROTO(uicb_client_togglefloating);
UICB_PROTO(uicb_toggletag); UICB_PROTO(uicb_toggletag);
UICB_PROTO(uicb_toggleview); UICB_PROTO(uicb_toggleview);
UICB_PROTO(uicb_view); UICB_PROTO(uicb_view);