summaryrefslogtreecommitdiffstats
path: root/client/x11
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-01-10 15:26:55 +0000
committerAlon Levy <alevy@redhat.com>2012-01-13 18:11:59 +0200
commit68c2897e5bc910151ab5f6c1c06299ae7e60c678 (patch)
tree310c8fe12f509c67d350a74b0ecfefc363bb6843 /client/x11
parent51f1ad54ad51cdf202566f26e7d29082a3c577ed (diff)
downloadspice-68c2897e5bc910151ab5f6c1c06299ae7e60c678.tar.gz
spice-68c2897e5bc910151ab5f6c1c06299ae7e60c678.tar.xz
spice-68c2897e5bc910151ab5f6c1c06299ae7e60c678.zip
Remove trailing whitespace from end of lines
Diffstat (limited to 'client/x11')
-rw-r--r--client/x11/platform.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp
index 9094a64a..df8fa768 100644
--- a/client/x11/platform.cpp
+++ b/client/x11/platform.cpp
@@ -534,7 +534,7 @@ XIC XPlatform::get_input_context()
void XPlatform::set_win_proc(Window win, win_proc_t proc)
{
int res;
-
+
XLockDisplay(x_display);
res = XSaveContext(x_display, win, win_proc_context, (XPointer)proc);
XUnlockDisplay(x_display);
@@ -1046,7 +1046,7 @@ bool DynamicScreen::set_screen_size(int size_index)
XLockDisplay(get_display());
config = XRRGetScreenInfo(get_display(), root_window);
XUnlockDisplay(get_display());
-
+
if (!config) {
LOG_WARN("get screen info failed");
return false;