diff options
author | Chris Laplante <mostthingsweb@gmail.com> | 2014-05-14 14:15:38 -0400 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-17 12:38:38 +0000 |
commit | 3c1e30b77df4f34c4954bff37a08439ace7f2434 (patch) | |
tree | a5231657e37e3b2efb2ba438c43561bf5f27649c /vcl/unx | |
parent | f62de9113a4866f7152acbe0e8221c594b7a7b68 (diff) |
Correct common misspellings, and remove some ASCII art along the way.
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c
Reviewed-on: https://gerrit.libreoffice.org/9356
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/window/FWS.cxx | 48 | ||||
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 4 |
2 files changed, 12 insertions, 40 deletions
diff --git a/vcl/unx/generic/window/FWS.cxx b/vcl/unx/generic/window/FWS.cxx index b6887dae7a67..a2dbdae3da16 100644 --- a/vcl/unx/generic/window/FWS.cxx +++ b/vcl/unx/generic/window/FWS.cxx @@ -52,15 +52,8 @@ static Bool fwsHandlesFocus; static Window fwsCommWindow; -/*************************************<->*********************************** - * - * WMSupportsFWS() - - * - * Initialize our atoms and determine if the current window manager is - * providing FWS extension support. - * - *************************************<->***********************************/ - +// Initialize our atoms and determine if the current window manager is +// providing FWS extension support. Bool WMSupportsFWS (Display *display, int screen) { @@ -174,16 +167,9 @@ WMSupportsFWS (Display *display, int screen) return True; } -/*************************************<->*********************************** - * - * newHandler() - - * - * Handle X errors (temporarily) to record the occurrence of BadWindow - * errors without crashing. Used to detect the FWS_COMM_WINDOW root window - * property containing an old or obsolete window id. - * - *************************************<->***********************************/ - +// Handle X errors (temporarily) to record the occurrence of BadWindow +// errors without crashing. Used to detect the FWS_COMM_WINDOW root window +// property containing an old or obsolete window id. extern "C" { static Bool badWindowFound; @@ -202,17 +188,10 @@ newHandler (Display *display, XErrorEvent *xerror) } -/*************************************<->*********************************** - * - * RegisterFwsWindow() - - * - * Send a client message to the FWS_COMM_WINDOW indicating the existance - * of a new FWS client window. Be careful to avoid BadWindow errors on - * the XSendEvent in case the FWS_COMM_WINDOW root window property had - * old/obsolete junk in it. - * - *************************************<->***********************************/ - +// Send a client message to the FWS_COMM_WINDOW indicating the existence +// of a new FWS client window. Be careful to avoid BadWindow errors on +// the XSendEvent in case the FWS_COMM_WINDOW root window property had +// old/obsolete junk in it. Bool RegisterFwsWindow (Display *display, Window window) { @@ -241,14 +220,7 @@ RegisterFwsWindow (Display *display, Window window) return !badWindowFound; } -/*************************************<->*********************************** - * - * AddFwsProtocols - - * - * Add the FWS protocol atoms to the WMProtocols property for the window. - * - *************************************<->***********************************/ - +// Add the FWS protocol atoms to the WMProtocols property for the window. void AddFwsProtocols (Display *display, Window window) { diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index a504baa2837e..55d45552d8fd 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -4017,7 +4017,7 @@ long X11SalFrame::Dispatch( XEvent *pEvent ) break; case ButtonPress: - // if we loose the focus in presentation mode + // if we lose the focus in presentation mode // there are good chances that we never get it back // since the WM ignores us if( IsOverrideRedirect() ) @@ -4072,7 +4072,7 @@ long X11SalFrame::Dispatch( XEvent *pEvent ) if( ! (nStyle_ & SAL_FRAME_STYLE_FLOAT ) && mbInShow && GetDisplay()->getWMAdaptor()->getWindowManagerName().equalsAscii( "Sawfish" ) ) { // don't set the focus into the IME status window - // since this will lead to a parent loose-focus, close status, + // since this will lead to a parent loss of focus, close status, // reget focus, open status, .... flicker loop if ( (I18NStatus::get().getStatusFrame() != this) ) bSetFocus = true; |