summarylogtreecommitdiffstats
path: root/0001-Set-windowing-backend-to-X11.patch
blob: 9b15f85a8883ba09dd59da6f425570d336c915f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 7ccb21a78cb85cf0d12232ec2c82ca194956dd44 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor@gmail.com>
Date: Wed, 15 Apr 2015 15:46:14 +0200
Subject: [PATCH] Set windowing backend to X11

This required to work with Clutter 1.22.
---
 src/snappy.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/snappy.c b/src/snappy.c
index 6054c88..c2bb2d0 100644
--- a/src/snappy.c
+++ b/src/snappy.c
@@ -179,6 +179,7 @@ main (int argc, char *argv[])
 
   context = g_option_context_new ("<media file> - Play movie files");
 
+  clutter_set_windowing_backend (CLUTTER_WINDOWING_X11);
   ci_err = gtk_clutter_init (&argc, &argv);
   if (ci_err != CLUTTER_INIT_SUCCESS)
     goto quit;
-- 
2.3.5