Fix a small compiler warning

Apparently libevent declares a global called 'raise'. The parameter
shadowed that here.

Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Gregor Best 2013-05-21 19:13:35 +02:00 committed by Julien Danjou
parent 7bd501af67
commit 396ebe5d0b
1 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ client_seturgent(Client *c, Bool set) {
* \return true if a window (even root) has received focus, false otherwise
*/
Bool
client_focus(Client *c, int screen, Bool raise)
client_focus(Client *c, int screen, Bool c_raise)
{
int phys_screen;
@ -232,7 +232,7 @@ client_focus(Client *c, int screen, Bool raise)
globalconf.screens[screen].styles.focus.border.pixel);
titlebar_draw(c);
XSetInputFocus(globalconf.display, c->win, RevertToPointerRoot, CurrentTime);
if(raise)
if(c_raise)
client_stack(c);
/* since we're dropping EnterWindow events and sometimes the window
* will appear under the mouse, grabbuttons */