remove setborder uicb

This commit is contained in:
Julien Danjou 2008-01-04 17:56:18 +01:00
parent 1d08ed45a8
commit 3742f31216
4 changed files with 1 additions and 21 deletions

View file

@ -97,8 +97,6 @@ Screen
~~~~~~
*screen_focus* relative or absolute integer::
Select Screen and focus first window and move mouse.
*setborder* relative or absolute integer::
Set default border size in pixels for new clients.
WIDGETS
-------
@ -227,7 +225,7 @@ Note: when there are no whitespaces, quotes are optional.
<integer> -> 1, 10, -3 (positive numbers are required mostly)
<key> -> a, 1, F10 (/usr/include/X11/keysymdef.h w/o XK_, 'xev')
<mod> -> mod1, mod2,..., mod5
<uicb-cmd> -> spawn, setborder (see UICB FUNCTIONS above)
<uicb-cmd> -> spawn, exec, client_tag... (see UICB FUNCTIONS above)
<uicb-arg> -> prog, 3 (argument to a uicb function, where required)
<string> -> "foo bar"
<{.., ...}> -> list of available options

View file

@ -735,22 +735,6 @@ uicb_client_settrans(int screen __attribute__ ((unused)), char *arg)
window_settrans(sel->win, delta);
}
/** Set border size
* \param screen Screen ID
* \param arg X, +X or -X
* \ingroup ui_callback
*/
void
uicb_setborder(int screen, char *arg)
{
if(!arg)
return;
if((globalconf.screens[screen].borderpx = (int) compute_new_value_from_arg(arg, (double) globalconf.screens[screen].borderpx)) < 0)
globalconf.screens[screen].borderpx = 0;
}
/** Swap current with next client
* \param screen Screen ID
* \param arg nothing

View file

@ -45,7 +45,6 @@ void client_maximize(Client *c, int, int, int, int, Bool);
Uicb uicb_client_kill;
Uicb uicb_client_moveresize;
Uicb uicb_client_settrans;
Uicb uicb_setborder;
Uicb uicb_client_swapnext;
Uicb uicb_client_swapprev;
Uicb uicb_client_togglemax;

1
uicb.c
View file

@ -42,7 +42,6 @@ const NameFuncLink UicbList[] =
{"client_kill", uicb_client_kill},
{"client_moveresize", uicb_client_moveresize},
{"client_settrans", uicb_client_settrans},
{"setborder", uicb_setborder},
{"client_swapnext", uicb_client_swapnext},
{"client_swapprev", uicb_client_swapprev},
/* tag.c */