summaryrefslogtreecommitdiff
blob: 36f5956093757d1ae737b33a3adacd5123c66078 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
diff -Naur fsviewer-app-0.2.6.orig/src/FSFileView.c fsviewer-app-0.2.6/src/FSFileView.c
--- fsviewer-app-0.2.6.orig/src/FSFileView.c	2007-10-14 21:06:02.000000000 +0200
+++ fsviewer-app-0.2.6/src/FSFileView.c	2015-09-02 21:18:39.574691303 +0200
@@ -430,7 +430,7 @@
 				   WMResizableWindowMask);
 	attributes.window_level = WMNormalWindowLevel;
 	attributes.extra_flags = GSFullKeyboardEventsFlag;
-	attributes.flags = (GSWindowStyleAttr | GSWindowLevelAttr |
+	attributes.flags = (/*GSWindowStyleAttr |*/ GSWindowLevelAttr |
 			    GSExtraFlagsAttr);
 	WMSetWindowAttributes(fView->dpy, WMWidgetXID(fView->fileView),
 			      &attributes);
diff -Naur fsviewer-app-0.2.6.orig/src/FSFinder.c fsviewer-app-0.2.6/src/FSFinder.c
--- fsviewer-app-0.2.6.orig/src/FSFinder.c	2006-07-23 09:24:16.000000000 +0200
+++ fsviewer-app-0.2.6/src/FSFinder.c	2015-09-02 21:18:39.574691303 +0200
@@ -144,7 +144,7 @@
 			       WMResizableWindowMask);
     attributes.window_level = WMNormalWindowLevel;
     attributes.extra_flags = GSFullKeyboardEventsFlag;
-    attributes.flags = (GSWindowStyleAttr | GSWindowLevelAttr |
+    attributes.flags = (/*GSWindowStyleAttr |*/ GSWindowLevelAttr |
 			GSExtraFlagsAttr);
     WMSetWindowAttributes(finder->dpy, WMWidgetXID(finder->win),
 			  &attributes);
diff -Naur fsviewer-app-0.2.6.orig/src/FSViewer.c fsviewer-app-0.2.6/src/FSViewer.c
--- fsviewer-app-0.2.6.orig/src/FSViewer.c	2007-10-14 17:29:04.000000000 +0200
+++ fsviewer-app-0.2.6/src/FSViewer.c	2015-09-02 21:18:39.574691303 +0200
@@ -161,7 +161,7 @@
     attributes.window_level = WMFloatingWindowLevel;
     attributes.extra_flags = GSFullKeyboardEventsFlag;
     attributes.flags =
-	(GSWindowStyleAttr | GSWindowLevelAttr | GSExtraFlagsAttr);
+	(/*GSWindowStyleAttr |*/ GSWindowLevelAttr | GSExtraFlagsAttr);
     WMSetWindowAttributes(fsViewer->dpy, window, &attributes);
     WMAppAddWindow(fsViewer->wmContext, window);
 
@@ -189,7 +189,7 @@
     attributes.window_level = WMNormalWindowLevel;
     attributes.extra_flags = GSFullKeyboardEventsFlag;
     attributes.flags =
-	(GSWindowStyleAttr | GSWindowLevelAttr | GSExtraFlagsAttr);
+	(/*GSWindowStyleAttr |*/ GSWindowLevelAttr | GSExtraFlagsAttr);
     WMSetWindowAttributes(fsViewer->dpy, window, &attributes);
     WMAppAddWindow(fsViewer->wmContext, window);
 }
@@ -216,7 +216,7 @@
     attributes.window_level = WMFloatingWindowLevel;
     attributes.extra_flags = GSFullKeyboardEventsFlag;
     attributes.flags =
-	(GSWindowStyleAttr | GSWindowLevelAttr | GSExtraFlagsAttr);
+	(/*GSWindowStyleAttr |*/ GSWindowLevelAttr | GSExtraFlagsAttr);
     WMSetWindowAttributes(fsViewer->dpy, window, &attributes);
     WMAppAddWindow(fsViewer->wmContext, window);
 }
@@ -476,6 +476,7 @@
       bindtextdomain("FSViewer", getenv("NLSPATH"));
     else
       bindtextdomain("FSViewer", LOCALEDIR);
+      bind_textdomain_codeset("FSViewer", "UTF-8");
     textdomain("FSViewer");
 
     if (!XSupportsLocale()) {