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 (from parent 1:
7e9b839
)
Remove unused local variables.
author
Reginald Kennedy
<rk@rejii.com>
Tue, 7 May 2013 14:18:43 +0000
(22:18 +0800)
committer
Reginald Kennedy
<rk@rejii.com>
Tue, 7 May 2013 14:18:43 +0000
(22:18 +0800)
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
c49bcf0
..
5c88059
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-5306,16
+5306,12
@@
wkill(struct swm_region *r, union arg *args)
int
floating_toggle_win(struct ws_win *win)
{
int
floating_toggle_win(struct ws_win *win)
{
- struct swm_region *r;
-
if (win == NULL)
return (0);
if (!win->ws->r)
return (0);
if (win == NULL)
return (0);
if (!win->ws->r)
return (0);
- r = win->ws->r;
-
/* reject floating toggles in max stack mode */
if (win->ws->cur_layout == &layouts[SWM_MAX_STACK])
return (0);
/* reject floating toggles in max stack mode */
if (win->ws->cur_layout == &layouts[SWM_MAX_STACK])
return (0);
@@
-5705,14
+5701,12
@@
move(struct ws_win *win, union arg *args)
{
xcb_timestamp_t timestamp = 0;
int move_stp = 0, moving;
{
xcb_timestamp_t timestamp = 0;
int move_stp = 0, moving;
- struct swm_region *r = NULL;
xcb_query_pointer_reply_t *qpr = NULL;
xcb_generic_event_t *evt;
xcb_motion_notify_event_t *mne;
if (win == NULL)
return;
xcb_query_pointer_reply_t *qpr = NULL;
xcb_generic_event_t *evt;
xcb_motion_notify_event_t *mne;
if (win == NULL)
return;
- r = win->ws->r;
if (win->ewmh_flags & EWMH_F_FULLSCREEN)
return;
if (win->ewmh_flags & EWMH_F_FULLSCREEN)
return;