Remove some unused members of session_t
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
357968c815
commit
4772103334
|
@ -209,8 +209,6 @@ typedef struct session {
|
||||||
bool tmout_unredir_hit;
|
bool tmout_unredir_hit;
|
||||||
/// Whether we need to redraw the screen
|
/// Whether we need to redraw the screen
|
||||||
bool redraw_needed;
|
bool redraw_needed;
|
||||||
/// Program start time.
|
|
||||||
struct timeval time_start;
|
|
||||||
/// The region needs to painted on next paint.
|
/// The region needs to painted on next paint.
|
||||||
region_t *damage;
|
region_t *damage;
|
||||||
/// The region damaged on the last paint.
|
/// The region damaged on the last paint.
|
||||||
|
@ -230,8 +228,6 @@ typedef struct session {
|
||||||
ignore_t **ignore_tail;
|
ignore_t **ignore_tail;
|
||||||
// Cached blur convolution kernels.
|
// Cached blur convolution kernels.
|
||||||
struct x_convolution_kernel **blur_kerns_cache;
|
struct x_convolution_kernel **blur_kerns_cache;
|
||||||
/// Reset program after next paint.
|
|
||||||
bool reset:1;
|
|
||||||
/// If compton should quit
|
/// If compton should quit
|
||||||
bool quit:1;
|
bool quit:1;
|
||||||
/// Whether there are pending updates, like window creation, etc.
|
/// Whether there are pending updates, like window creation, etc.
|
||||||
|
|
|
@ -1516,7 +1516,6 @@ static session_t *session_init(int argc, char **argv, Display *dpy,
|
||||||
#ifdef CONFIG_OPENGL
|
#ifdef CONFIG_OPENGL
|
||||||
.glx_prog_win = GLX_PROG_MAIN_INIT,
|
.glx_prog_win = GLX_PROG_MAIN_INIT,
|
||||||
#endif
|
#endif
|
||||||
.time_start = {0, 0},
|
|
||||||
.redirected = false,
|
.redirected = false,
|
||||||
.alpha_picts = NULL,
|
.alpha_picts = NULL,
|
||||||
.fade_time = 0L,
|
.fade_time = 0L,
|
||||||
|
@ -1590,7 +1589,6 @@ static session_t *session_init(int argc, char **argv, Display *dpy,
|
||||||
pixman_region32_init(&ps->screen_reg);
|
pixman_region32_init(&ps->screen_reg);
|
||||||
|
|
||||||
ps->ignore_tail = &ps->ignore_head;
|
ps->ignore_tail = &ps->ignore_head;
|
||||||
gettimeofday(&ps->time_start, NULL);
|
|
||||||
|
|
||||||
ps->o.show_all_xerrors = all_xerrors;
|
ps->o.show_all_xerrors = all_xerrors;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue