From 2fbb45dcd7787d2b97104d83ede412f34fc5eafb Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sat, 10 Aug 2019 01:47:05 +0100 Subject: [PATCH] win: remove unused member of struct win Signed-off-by: Yuxuan Shui --- src/win.c | 1 - src/win.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/win.c b/src/win.c index 004f513..6c9ec84 100644 --- a/src/win.c +++ b/src/win.c @@ -1081,7 +1081,6 @@ struct win *fill_win(session_t *ps, struct win *w) { .state = WSTATE_UNMAPPED, // updated by window state changes .in_openclose = true, // set to false after first map is done, // true here because window is just created - .queue_configure = {}, // same as above .reg_ignore_valid = false, // set to true when damaged .flags = 0, // updated by property/attributes/etc change diff --git a/src/win.h b/src/win.h index 4f8ca00..9b5e343 100644 --- a/src/win.h +++ b/src/win.h @@ -130,8 +130,6 @@ struct managed_win { region_t bounding_shape; /// Window flags. Definitions above. int_fast16_t flags; - /// Queued ConfigureNotify when the window is unmapped. - xcb_configure_notify_event_t queue_configure; /// The region of screen that will be obscured when windows above is painted, /// in global coordinates. /// We use this to reduce the pixels that needed to be paint when painting