mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 18:45:08 +00:00
WindowServer: Don't allow Logo+RMB to resize blocked-by-modal windows.
This commit is contained in:
parent
43304d2adf
commit
b87c099535
1 changed files with 1 additions and 1 deletions
|
@ -808,7 +808,7 @@ void WSWindowManager::process_mouse_event(WSMouseEvent& event, WSWindow*& event_
|
||||||
start_window_drag(window, event);
|
start_window_drag(window, event);
|
||||||
return IterationDecision::Abort;
|
return IterationDecision::Abort;
|
||||||
}
|
}
|
||||||
if (m_keyboard_modifiers == Mod_Logo && event.type() == WSMessage::MouseDown && event.button() == MouseButton::Right) {
|
if (m_keyboard_modifiers == Mod_Logo && event.type() == WSMessage::MouseDown && event.button() == MouseButton::Right && !window.is_blocked_by_modal_window()) {
|
||||||
move_to_front(window);
|
move_to_front(window);
|
||||||
set_active_window(&window);
|
set_active_window(&window);
|
||||||
start_window_resize(window, event);
|
start_window_resize(window, event);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue