summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2021-04-21 17:15:27 +0200
committerMichel Dänzer <michel@daenzer.net>2021-07-09 16:14:38 +0200
commit0c0cbbc7cb4fa917a2b33494efb6dc03e5de9051 (patch)
tree9419f7a43663f09f4d100488e00c1f7c0e4a43f9 /hw
parent561c63d0f13a8c6379ed05338172570f93dbce37 (diff)
present: Remove present_wnmd_info_rec
Doesn't serve any purpose anymore. Acked-by: Olivier Fourdan <ofourdan@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/xwayland/xwayland-present.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/xwayland/xwayland-present.c b/hw/xwayland/xwayland-present.c
index 403bf8733..262376486 100644
--- a/hw/xwayland/xwayland-present.c
+++ b/hw/xwayland/xwayland-present.c
@@ -1115,10 +1115,6 @@ xwl_present_unrealize_window(struct xwl_present_window *xwl_present_window)
xwl_present_reset_timer(xwl_present_window);
}
-static present_wnmd_info_rec xwl_present_info = {
- .version = PRESENT_SCREEN_INFO_VERSION,
-};
-
Bool
xwl_present_init(ScreenPtr screen)
{
@@ -1141,8 +1137,6 @@ xwl_present_init(ScreenPtr screen)
if (!dixRegisterPrivateKey(&xwl_present_window_private_key, PRIVATE_WINDOW, 0))
return FALSE;
- screen_priv->wnmd_info = &xwl_present_info;
-
screen_priv->query_capabilities = xwl_present_query_capabilities;
screen_priv->get_crtc = xwl_present_get_crtc;