fixing mediaview fullscreen on X11
This commit is contained in:
		
							parent
							
								
									add2356c8a
								
							
						
					
					
						commit
						0681d10c51
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -137,7 +137,7 @@ MediaView::MediaView()
 | 
			
		|||
	});
 | 
			
		||||
	handleAuthSessionChange();
 | 
			
		||||
 | 
			
		||||
	setWindowFlags(Qt::FramelessWindowHint);
 | 
			
		||||
	setWindowFlags(Qt::FramelessWindowHint | Qt::MaximizeUsingFullscreenGeometryHint);
 | 
			
		||||
	moveToScreen();
 | 
			
		||||
	setAttribute(Qt::WA_NoSystemBackground, true);
 | 
			
		||||
	setAttribute(Qt::WA_TranslucentBackground, true);
 | 
			
		||||
| 
						 | 
				
			
			@ -1777,7 +1777,7 @@ void MediaView::displayFinished() {
 | 
			
		|||
	updateControls();
 | 
			
		||||
	if (isHidden()) {
 | 
			
		||||
		psUpdateOverlayed(this);
 | 
			
		||||
		show();
 | 
			
		||||
		showFullScreen();
 | 
			
		||||
		psShowOverAll(this);
 | 
			
		||||
		activateWindow();
 | 
			
		||||
		QApplication::setActiveWindow(this);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue