mirror of
https://github.com/lbonn/rofi
synced 2024-11-21 19:33:05 +00:00
Remove duplicated disable history code
This commit is contained in:
parent
2baa809d8a
commit
0a0cc5f6d7
2 changed files with 0 additions and 8 deletions
|
@ -247,10 +247,6 @@ typedef struct _thread_state_view {
|
|||
} thread_state_view;
|
||||
|
||||
static void wayland___create_window(MenuFlags menu_flags) {
|
||||
// In password mode, disable the entry history.
|
||||
if ((menu_flags & MENU_PASSWORD) == MENU_PASSWORD) {
|
||||
CacheState.entry_history_enable = FALSE;
|
||||
}
|
||||
input_history_initialize();
|
||||
|
||||
TICK_N("create cairo surface");
|
||||
|
|
|
@ -677,10 +677,6 @@ static void open_xim_callback(xcb_xim_t *im, G_GNUC_UNUSED void *user_data) {
|
|||
#endif
|
||||
|
||||
static void xcb___create_window(MenuFlags menu_flags) {
|
||||
// In password mode, disable the entry history.
|
||||
if ((menu_flags & MENU_PASSWORD) == MENU_PASSWORD) {
|
||||
CacheState.entry_history_enable = FALSE;
|
||||
}
|
||||
input_history_initialize();
|
||||
|
||||
uint32_t selmask = XCB_CW_BACK_PIXMAP | XCB_CW_BORDER_PIXEL |
|
||||
|
|
Loading…
Reference in a new issue