Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11222 from oxij/w3m-fixes
w3m and ranger fixes
- Loading branch information
Showing
4 changed files
with
60 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Forget about X11 in fb module. | ||
This breaks w3mimgdisplay under X11, but removes X11 dependency it in pure fb. | ||
diff --git a/w3mimg/fb/fb_imlib2.c b/w3mimg/fb/fb_imlib2.c | ||
index ea36637..d3d7bc3 100644 | ||
--- a/w3mimg/fb/fb_imlib2.c | ||
+++ b/w3mimg/fb/fb_imlib2.c | ||
@@ -3,7 +3,7 @@ | ||
fb_imlib2.c 0.3 Copyright (C) 2002, hito | ||
**************************************************************************/ | ||
|
||
-#include <X11/Xlib.h> | ||
+#define X_DISPLAY_MISSING | ||
#include <Imlib2.h> | ||
#include "fb.h" | ||
#include "fb_img.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters