diff --git a/libkwineffects/kwinglobals.h b/libkwineffects/kwinglobals.h index d74dd7da16..0ca4891d78 100644 --- a/libkwineffects/kwinglobals.h +++ b/libkwineffects/kwinglobals.h @@ -187,14 +187,14 @@ KWIN_EXPORT xcb_screen_t *defaultScreen() } inline -KWIN_EXPORT int displayWidth() +KWIN_DEPRECATED_EXPORT int displayWidth() { xcb_screen_t *screen = defaultScreen(); return screen ? screen->width_in_pixels : 0; } inline -KWIN_EXPORT int displayHeight() +KWIN_DEPRECATED_EXPORT int displayHeight() { xcb_screen_t *screen = defaultScreen(); return screen ? screen->height_in_pixels : 0;