mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Ignore out of bounds check on tiling WMs (#3270)
This commit is contained in:
parent
0ba7c0f3c5
commit
ab1211cbef
|
@ -19,6 +19,7 @@
|
|||
- Minor: Strip leading @ and trailing , from username in `/popout` command. (#3217)
|
||||
- Minor: Added `flags.reward_message` filter variable (#3231)
|
||||
- Minor: Added highlights for first messages (#3267)
|
||||
- Minor: Ignore out of bounds check for tiling wms (#3270)
|
||||
- Bugfix: Fixed colored usernames sometimes not working. (#3170)
|
||||
- Bugfix: Restored ability to send duplicate `/me` messages. (#3166)
|
||||
- Bugfix: Notifications for moderators about other moderators deleting messages can now be disabled. (#3121)
|
||||
|
|
|
@ -684,8 +684,10 @@ void WindowManager::applyWindowLayout(const WindowLayout &layout)
|
|||
{
|
||||
// out of bounds windows
|
||||
auto screens = qApp->screens();
|
||||
bool outOfBounds = std::none_of(
|
||||
screens.begin(), screens.end(), [&](QScreen *screen) {
|
||||
bool outOfBounds =
|
||||
!getenv("I3SOCK") &&
|
||||
std::none_of(screens.begin(), screens.end(),
|
||||
[&](QScreen *screen) {
|
||||
return screen->availableGeometry().intersects(
|
||||
windowData.geometry_);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue