mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:12:43 +00:00 
			
		
		
		
	WindowServer: Don't open system menu on super key press while dragging
This commit is contained in:
		
							parent
							
								
									38f11cc1ba
								
							
						
					
					
						commit
						6e2a29d038
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1174,7 +1174,7 @@ void WindowManager::event(Core::Event& event) | |||
|             m_previous_event_is_key_down_logo = true; | ||||
|         } else if (m_previous_event_is_key_down_logo) { | ||||
|             m_previous_event_is_key_down_logo = false; | ||||
|             if (key_event.type() == Event::KeyUp && key_event.key() == Key_Super) { | ||||
|             if (!m_dnd_client && key_event.type() == Event::KeyUp && key_event.key() == Key_Super) { | ||||
|                 if (MenuManager::the().has_open_menu()) { | ||||
|                     MenuManager::the().close_everyone(); | ||||
|                 } else { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling