wayland: Use correct enums in server_decoration_request_mode
The enum is duplicated in the spec for the manager and the decoration object. We should be using the right ones. In practice they have the same value, so this bug didn't cause any issues.
This commit is contained in:
		@ -2106,10 +2106,10 @@ gdk_wayland_window_announce_decoration_mode (GdkWindow *window)
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
      if (impl->using_csd)
 | 
					      if (impl->using_csd)
 | 
				
			||||||
        org_kde_kwin_server_decoration_request_mode (impl->display_server.server_decoration,
 | 
					        org_kde_kwin_server_decoration_request_mode (impl->display_server.server_decoration,
 | 
				
			||||||
                                                                                     ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_MODE_CLIENT);
 | 
					                                                                                     ORG_KDE_KWIN_SERVER_DECORATION_MODE_CLIENT);
 | 
				
			||||||
      else
 | 
					      else
 | 
				
			||||||
        org_kde_kwin_server_decoration_request_mode (impl->display_server.server_decoration,
 | 
					        org_kde_kwin_server_decoration_request_mode (impl->display_server.server_decoration,
 | 
				
			||||||
                                                                                     ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_MODE_SERVER);
 | 
					                                                                                     ORG_KDE_KWIN_SERVER_DECORATION_MODE_SERVER);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user