diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-xfce/recipes-xfce/xfwm4 | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-xfce/recipes-xfce/xfwm4')
-rw-r--r-- | meta-xfce/recipes-xfce/xfwm4/files/0001-don-t-block-display-events-when-time-is-set-backward.patch | 33 | ||||
-rw-r--r-- | meta-xfce/recipes-xfce/xfwm4/xfwm4_git.bb | 36 |
2 files changed, 69 insertions, 0 deletions
diff --git a/meta-xfce/recipes-xfce/xfwm4/files/0001-don-t-block-display-events-when-time-is-set-backward.patch b/meta-xfce/recipes-xfce/xfwm4/files/0001-don-t-block-display-events-when-time-is-set-backward.patch new file mode 100644 index 0000000000..08fd76bb29 --- /dev/null +++ b/meta-xfce/recipes-xfce/xfwm4/files/0001-don-t-block-display-events-when-time-is-set-backward.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From e87977696f03b0c9f72884f8e3e3ec3248dfd80a Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Tue, 18 Jun 2013 12:46:42 +0200 | ||
4 | Subject: [PATCH] don't block display events when time is set backwards | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Upstream-Status: Submitted [1] | ||
10 | |||
11 | [1] https://bugzilla.xfce.org/show_bug.cgi?id=10184 | ||
12 | |||
13 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
14 | --- | ||
15 | src/display.c | 2 +- | ||
16 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
17 | |||
18 | diff --git a/src/display.c b/src/display.c | ||
19 | index 00318d5..651bc7a 100644 | ||
20 | --- a/src/display.c | ||
21 | +++ b/src/display.c | ||
22 | @@ -733,7 +733,7 @@ myDisplayUpdateCurrentTime (DisplayInfo *display, XEvent *ev) | ||
23 | break; | ||
24 | } | ||
25 | |||
26 | - if ((timestamp != (guint32) CurrentTime) && TIMESTAMP_IS_BEFORE(display->current_time, timestamp)) | ||
27 | + if ((timestamp != (guint32) CurrentTime) /*&& TIMESTAMP_IS_BEFORE(display->current_time, timestamp)*/) | ||
28 | { | ||
29 | display->current_time = timestamp; | ||
30 | } | ||
31 | -- | ||
32 | 1.7.6.5 | ||
33 | |||
diff --git a/meta-xfce/recipes-xfce/xfwm4/xfwm4_git.bb b/meta-xfce/recipes-xfce/xfwm4/xfwm4_git.bb new file mode 100644 index 0000000000..f8cd4b24f3 --- /dev/null +++ b/meta-xfce/recipes-xfce/xfwm4/xfwm4_git.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | DESCRIPTION="Xfce4 Window Manager" | ||
2 | SECTION = "x11/wm" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d791728a073bc009b4ffaf00b7599855" | ||
5 | DEPENDS = "virtual/libx11 libxpm gtk+ libxfce4util libxfce4ui xfconf libwnck dbus-glib startup-notification exo-native" | ||
6 | |||
7 | inherit xfce xfce-git update-alternatives | ||
8 | |||
9 | SRC_URI = " \ | ||
10 | git://git.xfce.org/xfce/xfwm4;protocol=git \ | ||
11 | file://0001-don-t-block-display-events-when-time-is-set-backward.patch \ | ||
12 | " | ||
13 | |||
14 | SRCREV = "bce3062d0879ab8504c446f99ad57c9fd76c5097" | ||
15 | S = "${WORKDIR}/git" | ||
16 | PV = "4.10.1+git${SRCPV}" | ||
17 | |||
18 | EXTRA_OECONF += "--enable-maintainer-mode" | ||
19 | |||
20 | python populate_packages_prepend () { | ||
21 | themedir = d.expand('${datadir}/themes') | ||
22 | do_split_packages(d, themedir, '^(.*)', 'xfwm4-theme-%s', 'XFWM4 theme %s', allow_dirs=True) | ||
23 | } | ||
24 | |||
25 | PACKAGES_DYNAMIC += "^xfwm4-theme-.*" | ||
26 | |||
27 | ALTERNATIVE_${PN} = "x-window-manager" | ||
28 | ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/xfwm4" | ||
29 | ALTERNATIVE_PRIORITY[x-window-manager] = "30" | ||
30 | |||
31 | RDEPENDS_${PN} = "xfwm4-theme-default" | ||
32 | FILES_${PN} += "${libdir}/xfce4/xfwm4/helper-dialog \ | ||
33 | ${datadir}/xfwm4/defaults \ | ||
34 | " | ||
35 | FILES_${PN}-dbg += "${libexecdir}/xfce4/xfwm4/.debug/*" | ||
36 | |||