Ignore out of bounds check on tiling WMs (#3270)
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
- Minor: Strip leading @ and trailing , from username in `/popout` command. (#3217)
|
- Minor: Strip leading @ and trailing , from username in `/popout` command. (#3217)
|
||||||
- Minor: Added `flags.reward_message` filter variable (#3231)
|
- Minor: Added `flags.reward_message` filter variable (#3231)
|
||||||
- Minor: Added highlights for first messages (#3267)
|
- 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: Fixed colored usernames sometimes not working. (#3170)
|
||||||
- Bugfix: Restored ability to send duplicate `/me` messages. (#3166)
|
- Bugfix: Restored ability to send duplicate `/me` messages. (#3166)
|
||||||
- Bugfix: Notifications for moderators about other moderators deleting messages can now be disabled. (#3121)
|
- Bugfix: Notifications for moderators about other moderators deleting messages can now be disabled. (#3121)
|
||||||
|
|||||||
@@ -684,11 +684,13 @@ void WindowManager::applyWindowLayout(const WindowLayout &layout)
|
|||||||
{
|
{
|
||||||
// out of bounds windows
|
// out of bounds windows
|
||||||
auto screens = qApp->screens();
|
auto screens = qApp->screens();
|
||||||
bool outOfBounds = std::none_of(
|
bool outOfBounds =
|
||||||
screens.begin(), screens.end(), [&](QScreen *screen) {
|
!getenv("I3SOCK") &&
|
||||||
return screen->availableGeometry().intersects(
|
std::none_of(screens.begin(), screens.end(),
|
||||||
windowData.geometry_);
|
[&](QScreen *screen) {
|
||||||
});
|
return screen->availableGeometry().intersects(
|
||||||
|
windowData.geometry_);
|
||||||
|
});
|
||||||
|
|
||||||
// ask if move into bounds
|
// ask if move into bounds
|
||||||
auto &&should = shouldMoveOutOfBoundsWindow();
|
auto &&should = shouldMoveOutOfBoundsWindow();
|
||||||
|
|||||||
Reference in New Issue
Block a user