mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 05:48:01 +01:00
Removed unused keymove_tick variable
The variable keymove_tick is set, but is never used after, so can be removed. kix@osaka:~/src/wmaker/git/wmaker-crm/src$ grep keymove_tick *[ch] moveres.c: scr->keymove_tick = 0; screen.h: int keymove_tick; kix@osaka:~/src/wmaker/git/wmaker-crm/src$ Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
This commit is contained in:
committed by
Carlos R. Mafra
parent
97ecb7b613
commit
6d65daf1be
@@ -1469,11 +1469,7 @@ int wKeyboardMoveResizeWindow(WWindow * wwin)
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (done) {
|
if (done) {
|
||||||
scr->keymove_tick = 0;
|
if (!opaqueMoveResize) { /* ctrlmode => resize */
|
||||||
/*
|
|
||||||
WMDeleteTimerWithClientData(&looper);
|
|
||||||
*/
|
|
||||||
if (!opaqueMoveResize) {/*ctrlmode=> resize */
|
|
||||||
if (wwin->flags.shaded || scr->selected_windows) {
|
if (wwin->flags.shaded || scr->selected_windows) {
|
||||||
if (scr->selected_windows)
|
if (scr->selected_windows)
|
||||||
drawFrames(wwin, scr->selected_windows, off_x, off_y);
|
drawFrames(wwin, scr->selected_windows, off_x, off_y);
|
||||||
@@ -1482,7 +1478,7 @@ int wKeyboardMoveResizeWindow(WWindow * wwin)
|
|||||||
} else {
|
} else {
|
||||||
drawTransparentFrame(wwin, src_x + off_x, src_y + off_y, ww, wh);
|
drawTransparentFrame(wwin, src_x + off_x, src_y + off_y, ww, wh);
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
if (ctrlmode) {
|
if (ctrlmode) {
|
||||||
showGeometry(wwin, src_x + off_x, src_y + off_y, src_x + off_x + ww,
|
showGeometry(wwin, src_x + off_x, src_y + off_y, src_x + off_x + ww,
|
||||||
|
|||||||
@@ -219,7 +219,6 @@ typedef struct _WScreen {
|
|||||||
int drawer_count; /* Nb of drawers that */
|
int drawer_count; /* Nb of drawers that */
|
||||||
struct WDock *attracting_drawer; /* The drawer that auto-attracts icons, or NULL */
|
struct WDock *attracting_drawer; /* The drawer that auto-attracts icons, or NULL */
|
||||||
|
|
||||||
int keymove_tick;
|
|
||||||
struct RContext *rcontext; /* wrlib context */
|
struct RContext *rcontext; /* wrlib context */
|
||||||
|
|
||||||
WMScreen *wmscreen; /* for widget library */
|
WMScreen *wmscreen; /* for widget library */
|
||||||
|
|||||||
Reference in New Issue
Block a user