Indent fixes

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@455 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Peter Åstrand 2003-08-31 20:01:12 +00:00
parent da38a26f3e
commit eb8334ffe7
2 changed files with 11 additions and 8 deletions

View File

@ -197,8 +197,8 @@ xclip_handle_PropertyNotify(XPropertyEvent * event)
{
res = XGetWindowProperty(g_display, DefaultRootWindow(g_display),
rdesktop_clipboard_formats_atom, 0,
XMaxRequestSize(g_display), False, XA_STRING, &type, &format,
&nitems, &bytes_left, &data);
XMaxRequestSize(g_display), False, XA_STRING, &type,
&format, &nitems, &bytes_left, &data);
if ((res == Success) && (nitems > 0))
{
@ -296,7 +296,8 @@ xclip_init(void)
clipboard_atom = XInternAtom(g_display, "CLIPBOARD", False);
targets_atom = XInternAtom(g_display, "TARGETS", False);
timestamp_atom = XInternAtom(g_display, "TIMESTAMP", False);
rdesktop_clipboard_target_atom = XInternAtom(g_display, "_RDESKTOP_CLIPBOARD_TARGET", False);
rdesktop_clipboard_target_atom =
XInternAtom(g_display, "_RDESKTOP_CLIPBOARD_TARGET", False);
incr_atom = XInternAtom(g_display, "INCR", False);
targets[0] = targets_atom;
targets[1] = XInternAtom(g_display, "TEXT", False);

12
xwin.c
View File

@ -656,8 +656,8 @@ ui_create_window(void)
attribs.override_redirect = g_fullscreen;
g_wnd = XCreateWindow(g_display, RootWindowOfScreen(g_screen), 0, 0, wndwidth, wndheight,
0, CopyFromParent, InputOutput, CopyFromParent,
CWBackPixel | CWBackingStore | CWOverrideRedirect, &attribs);
0, CopyFromParent, InputOutput, CopyFromParent,
CWBackPixel | CWBackingStore | CWOverrideRedirect, &attribs);
XStoreName(g_display, g_wnd, g_title);
@ -697,7 +697,7 @@ ui_create_window(void)
if (g_IM != NULL)
{
g_IC = XCreateIC(g_IM, XNInputStyle, (XIMPreeditNothing | XIMStatusNothing),
XNClientWindow, g_wnd, XNFocusWindow, g_wnd, NULL);
XNClientWindow, g_wnd, XNFocusWindow, g_wnd, NULL);
if ((g_IC != NULL)
&& (XGetICValues(g_IC, XNFilterEvents, &ic_input_mask, NULL) == NULL))
@ -885,7 +885,8 @@ xwin_process_events(void)
/* The close button, continue */
;
}
else if (xevent.xbutton.x >= g_width - g_win_button_size * 2)
else if (xevent.xbutton.x >=
g_width - g_win_button_size * 2)
{
/* The maximize/restore button. Do not send to
server. It might be a good idea to change the
@ -893,7 +894,8 @@ xwin_process_events(void)
that rdesktop inhibited this click */
break;
}
else if (xevent.xbutton.x >= g_width - g_win_button_size * 3)
else if (xevent.xbutton.x >=
g_width - g_win_button_size * 3)
{
/* The minimize button. Iconify window. */
XIconifyWindow(g_display, g_wnd,