mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	Add maximized protocol
A request from the client to ask the compositor to maximize the surface. The compositor will reply with a configure event telling the expected new surface size. The operation is completed on the next buffer attach to this surface. A maximized client will fill the fullscreen of the output it is bound to, except the panel area. This is the main difference between a maximized shell surface and a fullscreen shell surface.
This commit is contained in:
		
							parent
							
								
									7c6dac8740
								
							
						
					
					
						commit
						2eddfce14b
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -451,6 +451,19 @@
 | 
			
		|||
      <arg name="flags" type="uint"/>
 | 
			
		||||
    </request>
 | 
			
		||||
 | 
			
		||||
    <request name="set_maximized">
 | 
			
		||||
      <description summary="make the surface a maximized surface">
 | 
			
		||||
	A request from the client to notify the compositor the maximized
 | 
			
		||||
	operation. The compositor will reply with a configure event telling
 | 
			
		||||
        the expected new surface size. The operation is completed on the
 | 
			
		||||
        next buffer attach to this surface.
 | 
			
		||||
        A maximized client will fill the fullscreen of the output it is bound
 | 
			
		||||
        to, except the panel area. This is the main difference between
 | 
			
		||||
        a maximized shell surface and a fullscreen shell surface.
 | 
			
		||||
      </description>
 | 
			
		||||
      <arg name="output" type="object" interface="wl_output"/>
 | 
			
		||||
    </request>
 | 
			
		||||
 | 
			
		||||
    <event name="configure">
 | 
			
		||||
      <description summary="suggest resize">
 | 
			
		||||
	The configure event asks the client to resize its surface.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue