indenting
This commit is contained in:
parent
aa6bedd78b
commit
2572f111e0
1 changed files with 202 additions and 200 deletions
|
@ -1,19 +1,19 @@
|
||||||
/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
|
/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
|
||||||
|
|
||||||
event.c for the Openbox window manager
|
event.c for the Openbox window manager
|
||||||
Copyright (c) 2003 Ben Jansens
|
Copyright (c) 2003 Ben Jansens
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
See the COPYING file for a copy of the GNU General Public License.
|
See the COPYING file for a copy of the GNU General Public License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "event.h"
|
#include "event.h"
|
||||||
|
@ -584,7 +584,8 @@ static void event_handle_client(ObClient *client, XEvent *e)
|
||||||
case FocusIn:
|
case FocusIn:
|
||||||
#ifdef DEBUG_FOCUS
|
#ifdef DEBUG_FOCUS
|
||||||
ob_debug("FocusIn on client for %lx (client %lx) mode %d detail %d\n",
|
ob_debug("FocusIn on client for %lx (client %lx) mode %d detail %d\n",
|
||||||
e->xfocus.window, client->window, e->xfocus.mode, e->xfocus.detail);
|
e->xfocus.window, client->window,
|
||||||
|
e->xfocus.mode, e->xfocus.detail);
|
||||||
#endif
|
#endif
|
||||||
focus_in = client;
|
focus_in = client;
|
||||||
if (focus_out == client)
|
if (focus_out == client)
|
||||||
|
@ -593,7 +594,8 @@ static void event_handle_client(ObClient *client, XEvent *e)
|
||||||
case FocusOut:
|
case FocusOut:
|
||||||
#ifdef DEBUG_FOCUS
|
#ifdef DEBUG_FOCUS
|
||||||
ob_debug("FocusOut on client for %lx (client %lx) mode %d detail %d\n",
|
ob_debug("FocusOut on client for %lx (client %lx) mode %d detail %d\n",
|
||||||
e->xfocus.window, client->window, e->xfocus.mode, e->xfocus.detail);
|
e->xfocus.window, client->window,
|
||||||
|
e->xfocus.mode, e->xfocus.detail);
|
||||||
#endif
|
#endif
|
||||||
if (focus_in == client)
|
if (focus_in == client)
|
||||||
focus_in = NULL;
|
focus_in = NULL;
|
||||||
|
|
Loading…
Reference in a new issue