summaryrefslogtreecommitdiffstats
path: root/x11vnc/pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/pm.c')
-rw-r--r--x11vnc/pm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/pm.c b/x11vnc/pm.c
index 8b3eab5..2ddb009 100644
--- a/x11vnc/pm.c
+++ b/x11vnc/pm.c
@@ -25,7 +25,7 @@ static void check_fbpm(void) {
CARD16 level;
BOOL enabled;
- if (raw_fb && ! dpy) return; /* raw_fb hack */
+ RAWFB_RET_VOID
if (! init_fbpm) {
if (FBPMCapable(dpy)) {
@@ -83,7 +83,7 @@ static void check_fbpm(void) {
if (db) fprintf(stderr, "FBPMInfo failed.\n");
}
#else
- if (raw_fb && ! dpy) return; /* raw_fb hack */
+ RAWFB_RET_VOID
if (! init_fbpm) {
rfbLog("X FBPM extension not supported.\n");
init_fbpm = 1;