Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
referred to LICENSE file
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
90399ae
..
adf422e
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-1,6
+1,4
@@
-/* © 2006-2007 Anselm R. Garbe <garbeam at gmail dot com>
- * © 2006-2007 Sander van Dijk <a dot h dot vandijk at gmail dot com>
- * See LICENSE file for license details. */
+/* See LICENSE file for copyright and license details. */
#include "dwm.h"
#include <stdlib.h>
#include <string.h>
#include "dwm.h"
#include <stdlib.h>
#include <string.h>
@@
-129,7
+127,7
@@
detach(Client *c) {
void
focus(Client *c) {
void
focus(Client *c) {
- if(
!c && selscreen || c && !isvisible(c
))
+ if(
(!c && selscreen)|| (c && !isvisible(c)
))
for(c = stack; c && !isvisible(c); c = c->snext);
if(sel && sel != c) {
grabbuttons(sel, False);
for(c = stack; c && !isvisible(c); c = c->snext);
if(sel && sel != c) {
grabbuttons(sel, False);