summaryrefslogtreecommitdiff
path: root/plugins/clipboard/xutils.c
diff options
context:
space:
mode:
authorLaurent Napias <[email protected]>2019-06-29 11:50:53 +0200
committerlukefromdc <[email protected]>2019-07-01 02:49:33 +0000
commit8d22bd7590c3487df96f8dc3972173236c66de87 (patch)
tree14ccecbfa067a2d7ab2bdb315686d01a20ecc084 /plugins/clipboard/xutils.c
parent86362cdd37c71ad4d6b9a1c506838b201953fd29 (diff)
downloadmate-settings-daemon-8d22bd7590c3487df96f8dc3972173236c66de87.tar.bz2
mate-settings-daemon-8d22bd7590c3487df96f8dc3972173236c66de87.tar.xz
Remove trailing whitespaces
Diffstat (limited to 'plugins/clipboard/xutils.c')
-rw-r--r--plugins/clipboard/xutils.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/clipboard/xutils.c b/plugins/clipboard/xutils.c
index 4e48b98..ef57a85 100644
--- a/plugins/clipboard/xutils.c
+++ b/plugins/clipboard/xutils.c
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL RED HAT
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
- * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Author: Matthias Clasen, Red Hat, Inc.
@@ -46,7 +46,7 @@ void
init_atoms (Display *display)
{
unsigned long max_request_size;
-
+
if (SELECTION_MAX_SIZE > 0)
return;
@@ -63,17 +63,17 @@ init_atoms (Display *display)
XA_SAVE_TARGETS = XInternAtom (display, "SAVE_TARGETS", False);
XA_TARGETS = XInternAtom (display, "TARGETS", False);
XA_TIMESTAMP = XInternAtom (display, "TIMESTAMP", False);
-
+
max_request_size = XExtendedMaxRequestSize (display);
if (max_request_size == 0)
max_request_size = XMaxRequestSize (display);
-
+
SELECTION_MAX_SIZE = max_request_size - 100;
if (SELECTION_MAX_SIZE > 262144)
SELECTION_MAX_SIZE = 262144;
}
-typedef struct
+typedef struct
{
Window window;
Atom timestamp_prop_atom;