indentation changes to scratchpad patch
This commit is contained in:
parent
a31f712033
commit
a608e1c465
28
speedwm.c
28
speedwm.c
|
@ -456,12 +456,14 @@ static void restack(Monitor *m);
|
|||
static void run(void);
|
||||
static void scantray(void);
|
||||
static void scan(void);
|
||||
static void scratchpad_hide ();
|
||||
static _Bool scratchpad_last_showed_is_killed (void);
|
||||
static void scratchpad_remove ();
|
||||
static void scratchpad_show ();
|
||||
static void scratchpad_show_client (Client * c);
|
||||
static void scratchpad_show_first (void);
|
||||
/* scratchpad functions */
|
||||
static void scratchpad_hide();
|
||||
static _Bool scratchpad_last_showed_is_killed(void);
|
||||
static void scratchpad_remove();
|
||||
static void scratchpad_show();
|
||||
static void scratchpad_show_client(Client *c);
|
||||
static void scratchpad_show_first(void);
|
||||
/* */
|
||||
static void sendmon(Client *c, Monitor *m);
|
||||
static void setclientstate(Client *c, long state);
|
||||
static void setclienttagprop(Client *c);
|
||||
|
@ -4042,13 +4044,15 @@ static _Bool scratchpad_last_showed_is_killed (void)
|
|||
return killed;
|
||||
}
|
||||
|
||||
static void scratchpad_remove ()
|
||||
void
|
||||
scratchpad_remove()
|
||||
{
|
||||
if (selmon -> sel && scratchpad_last_showed != NULL && selmon -> sel == scratchpad_last_showed)
|
||||
if (selmon->sel && scratchpad_last_showed != NULL && selmon->sel == scratchpad_last_showed)
|
||||
scratchpad_last_showed = NULL;
|
||||
}
|
||||
|
||||
static void scratchpad_show ()
|
||||
void
|
||||
scratchpad_show()
|
||||
{
|
||||
if (scratchpad_last_showed == NULL || scratchpad_last_showed_is_killed ())
|
||||
scratchpad_show_first ();
|
||||
|
@ -4091,7 +4095,8 @@ static void scratchpad_show ()
|
|||
show(NULL);
|
||||
}
|
||||
|
||||
static void scratchpad_show_client (Client * c)
|
||||
void
|
||||
scratchpad_show_client(Client *c)
|
||||
{
|
||||
scratchpad_last_showed = c;
|
||||
c -> tags = selmon->tagset[selmon->seltags];
|
||||
|
@ -4099,7 +4104,8 @@ static void scratchpad_show_client (Client * c)
|
|||
arrange(selmon);
|
||||
}
|
||||
|
||||
static void scratchpad_show_first (void)
|
||||
void
|
||||
scratchpad_show_first(void)
|
||||
{
|
||||
for (Client * c = selmon -> clients; c != NULL; c = c -> next)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue