cosmetic, fix indentations
This commit is contained in:
parent
4f1940d94f
commit
3c6e7fa6de
15
client.c
15
client.c
|
@ -72,16 +72,16 @@ grabbuttons(Client * c, Bool focused, Bool raised, KeySym modkey, unsigned int n
|
||||||
|
|
||||||
if(focused)
|
if(focused)
|
||||||
{
|
{
|
||||||
if (!raised)
|
if(!raised)
|
||||||
{
|
{
|
||||||
XGrabButton(c->display, Button1, NoSymbol, c->win, False, BUTTONMASK,
|
XGrabButton(c->display, Button1, NoSymbol, c->win, False,
|
||||||
GrabModeAsync, GrabModeSync, None, None);
|
ButtonPressMask, GrabModeAsync, GrabModeSync, None, None);
|
||||||
XGrabButton(c->display, Button1, LockMask, c->win, False,
|
XGrabButton(c->display, Button1, LockMask, c->win, False,
|
||||||
BUTTONMASK, GrabModeAsync, GrabModeSync, None, None);
|
ButtonPressMask, GrabModeAsync, GrabModeSync, None, None);
|
||||||
XGrabButton(c->display, Button1, numlockmask, c->win, False,
|
XGrabButton(c->display, Button1, numlockmask, c->win, False,
|
||||||
BUTTONMASK, GrabModeAsync, GrabModeSync, None, None);
|
ButtonPressMask, GrabModeAsync, GrabModeSync, None, None);
|
||||||
XGrabButton(c->display, Button1, numlockmask | LockMask,
|
XGrabButton(c->display, Button1, numlockmask | LockMask, c->win, False,
|
||||||
c->win, False, BUTTONMASK, GrabModeAsync, GrabModeSync, None, None);
|
ButtonPressMask, GrabModeAsync, GrabModeSync, None, None);
|
||||||
}
|
}
|
||||||
|
|
||||||
XGrabButton(c->display, Button1, modkey, c->win, False, BUTTONMASK,
|
XGrabButton(c->display, Button1, modkey, c->win, False, BUTTONMASK,
|
||||||
|
@ -135,6 +135,7 @@ grabbuttons(Client * c, Bool focused, Bool raised, KeySym modkey, unsigned int n
|
||||||
{
|
{
|
||||||
XGrabButton(c->display, AnyButton, AnyModifier, c->win, False, BUTTONMASK,
|
XGrabButton(c->display, AnyButton, AnyModifier, c->win, False, BUTTONMASK,
|
||||||
GrabModeAsync, GrabModeSync, None, None);
|
GrabModeAsync, GrabModeSync, None, None);
|
||||||
|
|
||||||
XGrabButton(c->display, Button4, NoSymbol, RootWindow(c->display, c->phys_screen), False, BUTTONMASK,
|
XGrabButton(c->display, Button4, NoSymbol, RootWindow(c->display, c->phys_screen), False, BUTTONMASK,
|
||||||
GrabModeAsync, GrabModeSync, None, None);
|
GrabModeAsync, GrabModeSync, None, None);
|
||||||
XGrabButton(c->display, Button4, LockMask, RootWindow(c->display, c->phys_screen), False, BUTTONMASK,
|
XGrabButton(c->display, Button4, LockMask, RootWindow(c->display, c->phys_screen), False, BUTTONMASK,
|
||||||
|
|
4
event.c
4
event.c
|
@ -205,8 +205,8 @@ handle_event_buttonpress(XEvent * e, awesome_config *awesomeconf)
|
||||||
{
|
{
|
||||||
if (ev->button == Button1)
|
if (ev->button == Button1)
|
||||||
{
|
{
|
||||||
restack(c->display, &awesomeconf[c->screen]);
|
restack(c->display, &awesomeconf[c->screen]);
|
||||||
grabbuttons(c, True, True, awesomeconf->modkey, awesomeconf->numlockmask);
|
grabbuttons(c, True, True, awesomeconf->modkey, awesomeconf->numlockmask);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(ev->button == Button1)
|
else if(ev->button == Button1)
|
||||||
|
|
Loading…
Reference in New Issue