Compare commits

...

3 commits

Author SHA1 Message Date
dependabot[bot] 506b48c6d3
Merge 5653d43ff0 into 9345050868 2024-10-20 11:08:20 +02:00
nerix 9345050868
fix: invalidate buffers on WM_DPICHANGED (#5664) 2024-10-19 18:42:37 +00:00
dependabot[bot] 5653d43ff0
chore(deps): bump lib/settings from c58874c to 4a0a1e5
Bumps [lib/settings](https://github.com/pajlada/settings) from `c58874c` to `4a0a1e5`.
- [Commits](c58874c1aa...4a0a1e5993)

---
updated-dependencies:
- dependency-name: lib/settings
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 00:48:23 +00:00
3 changed files with 10 additions and 2 deletions

View file

@ -4,7 +4,7 @@
- Major: Add option to show pronouns in user card. (#5442, #5583)
- Major: Release plugins alpha. (#5288)
- Major: Improve high-DPI support on Windows. (#4868, #5391)
- Major: Improve high-DPI support on Windows. (#4868, #5391, #5664)
- Major: Added transparent overlay window (default keybind: <kbd>CTRL</kbd> + <kbd>ALT</kbd> + <kbd>N</kbd>). (#4746, #5643, #5659)
- Minor: Removed the Ctrl+Shift+L hotkey for toggling the "live only" tab visibility state. (#5530)
- Minor: Add support for Shared Chat messages. Shared chat messages can be filtered with the `flags.shared` filter variable, or with search using `is:shared`. Some messages like subscriptions are filtered on purpose to avoid confusion for the broadcaster. If you have both channels participating in Shared Chat open, only one of the message triggering your highlight will trigger. (#5606, #5625)

@ -1 +1 @@
Subproject commit c58874c1aa5d0619df2c975bcb87433941b46920
Subproject commit 4a0a1e599377cdcdc91b0fbbefc312936b48730c

View file

@ -876,6 +876,14 @@ bool BaseWindow::nativeEvent(const QByteArray &eventType, void *message,
}
break;
case WM_DPICHANGED: {
// wait for Qt to process this message
postToThread([] {
getApp()->getWindows()->invalidateChannelViewBuffers();
});
}
break;
case WM_NCLBUTTONDOWN:
case WM_NCLBUTTONUP: {
// WM_NCLBUTTON{DOWN, UP} gets called when the left mouse button