forked from AuroraMiddleware/gtk
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:
parent
f62c92783a
commit
d49335c59a
@ -2106,10 +2106,10 @@ gdk_wayland_window_announce_decoration_mode (GdkWindow *window)
|
||||
{
|
||||
if (impl->using_csd)
|
||||
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
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user