17248
|
1 |
--- metacity-2.28.0/src/core/bell.c 2009-09-09 04:55:35.000000000 +0800
|
|
2 |
+++ /backup/jtan/bell.c 2009-12-23 17:18:47.623372430 +0800
|
|
3 |
@@ -310,15 +310,20 @@
|
|
4 |
|
|
5 |
ca_proplist_destroy (p);
|
|
6 |
|
|
7 |
- if (res != CA_SUCCESS && res != CA_ERROR_DISABLED)
|
|
8 |
- {
|
|
9 |
+ XkbForceBell(display->xdisplay, xkb_bell_event->percent);
|
|
10 |
+
|
|
11 |
+
|
|
12 |
+ //if (res != CA_SUCCESS && res != CA_ERROR_DISABLED)
|
|
13 |
+ //{
|
|
14 |
/* ...and in case that failed we use the classic X11 bell. */
|
|
15 |
+ /*
|
|
16 |
XkbForceDeviceBell (display->xdisplay,
|
|
17 |
xkb_bell_event->device,
|
|
18 |
xkb_bell_event->bell_class,
|
|
19 |
xkb_bell_event->bell_id,
|
|
20 |
xkb_bell_event->percent);
|
|
21 |
- }
|
|
22 |
+ */
|
|
23 |
+ //}
|
|
24 |
}
|
|
25 |
}
|
|
26 |
#endif /* HAVE_XKB */
|
17507
|
27 |
diff -ruN metacity-2.28.1.orig/src/core/delete.c metacity-2.28.1/src/core/delete.c
|
|
28 |
--- metacity-2.28.1.orig/src/core/delete.c 2010-02-02 06:39:27.349000933 +0000
|
|
29 |
+++ metacity-2.28.1/src/core/delete.c 2010-02-02 06:40:26.190105767 +0000
|
|
30 |
@@ -38,6 +38,7 @@
|
|
31 |
#include <string.h>
|
|
32 |
#include <stdlib.h>
|
|
33 |
#include <stdio.h>
|
|
34 |
+#include <sys/wait.h>
|
|
35 |
|
|
36 |
static void meta_window_present_delete_dialog (MetaWindow *window,
|
|
37 |
guint32 timestamp);
|