8000 Initialise the timestamp earlier by k-takata · Pull Request #1292 · mintty/mintty · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Initialise the timestamp earlier #1292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/winmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -7798,6 +7798,9 @@ static int dynfonts = 0;
win_synctabs(4);
#endif

// mark userdata with timestamp, for initial tabbar ordering
SetWindowLong(wnd, GWL_USERDATA, mtime() & GWL_TIMEMASK);

update_tab_titles();

#ifdef always_hook_keyboard
Expand Down Expand Up @@ -7969,9 +7972,6 @@ static int dynfonts = 0;
// (https://github.com/mintty/mintty/issues/1113#issuecomment-1210278957)
SetFocus(wnd);

// mark userdata with timestamp, for initial tabbar ordering
SetWindowLong(wnd, GWL_USERDATA, mtime() & GWL_TIMEMASK);

is_init = true;
// tab management: secure transparency appearance by hiding other tabs
win_set_tab_focus('I'); // hide other tabs
Expand Down
0