Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
641cdb0
)
Remove unused vars.
author
Reginald Kennedy
<rk@rejii.com>
Thu, 9 Feb 2012 12:53:48 +0000
(20:53 +0800)
committer
Reginald Kennedy
<rk@rejii.com>
Thu, 9 Feb 2012 12:53:48 +0000
(20:53 +0800)
ok marco
scrotwm.c
patch
|
blob
|
history
diff --git
a/scrotwm.c
b/scrotwm.c
index
5757fc3
..
2c2a88a
100644
(file)
--- a/
scrotwm.c
+++ b/
scrotwm.c
@@
-2487,7
+2487,7
@@
swapwin(struct swm_region *r, union arg *args)
void
focus_prev(struct ws_win *win)
{
void
focus_prev(struct ws_win *win)
{
- struct ws_win *winfocus = NULL, *winlostfocus = NULL;
+ struct ws_win *winfocus = NULL;
struct ws_win *cur_focus = NULL;
struct ws_win_list *wl = NULL;
struct workspace *ws = NULL;
struct ws_win *cur_focus = NULL;
struct ws_win_list *wl = NULL;
struct workspace *ws = NULL;
@@
-2500,7
+2500,6
@@
focus_prev(struct ws_win *win)
ws = win->ws;
wl = &ws->winlist;
cur_focus = ws->focus;
ws = win->ws;
wl = &ws->winlist;
cur_focus = ws->focus;
- winlostfocus = cur_focus;
/* pickle, just focus on whatever */
if (cur_focus == NULL) {
/* pickle, just focus on whatever */
if (cur_focus == NULL) {
@@
-2546,7
+2545,7
@@
done:
void
focus(struct swm_region *r, union arg *args)
{
void
focus(struct swm_region *r, union arg *args)
{
- struct ws_win *winfocus = NULL, *winlostfocus = NULL, *head;
+ struct ws_win *winfocus = NULL, *head;
struct ws_win *cur_focus = NULL;
struct ws_win_list *wl = NULL;
struct workspace *ws = NULL;
struct ws_win *cur_focus = NULL;
struct ws_win_list *wl = NULL;
struct workspace *ws = NULL;
@@
-2588,8
+2587,6
@@
focus(struct swm_region *r, union arg *args)
if (all_iconics)
return;
if (all_iconics)
return;
- winlostfocus = cur_focus;
-
switch (args->id) {
case SWM_ARG_ID_FOCUSPREV:
head = TAILQ_PREV(cur_focus, ws_win_list, entry);
switch (args->id) {
case SWM_ARG_ID_FOCUSPREV:
head = TAILQ_PREV(cur_focus, ws_win_list, entry);