Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
KDE Workspace
Commits
c61081ff
Commit
c61081ff
authored
Mar 11, 2013
by
Martin Flöser
Browse files
Temporarily revert to XDisplayWidth/Height
We don't like broken master. Proper fix coming later on. BUG: 316040
parent
1e6af3a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
kwin/libkwineffects/kwinglobals.h
View file @
c61081ff
...
...
@@ -177,15 +177,23 @@ KWIN_EXPORT xcb_screen_t *defaultScreen()
inline
KWIN_EXPORT
int
displayWidth
()
{
#if 0
xcb_screen_t *screen = defaultScreen();
return screen ? screen->width_in_pixels : 0;
#else
return
XDisplayWidth
(
display
(),
DefaultScreen
(
display
()));
#endif
}
inline
KWIN_EXPORT
int
displayHeight
()
{
#if 0
xcb_screen_t *screen = defaultScreen();
return screen ? screen->height_in_pixels : 0;
#else
return
XDisplayHeight
(
display
(),
DefaultScreen
(
display
()));
#endif
}
/** @internal */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment