diff options
Diffstat (limited to 'x11vnc/gui.c')
-rw-r--r-- | x11vnc/gui.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/x11vnc/gui.c b/x11vnc/gui.c index 0727bec..5c69b91 100644 --- a/x11vnc/gui.c +++ b/x11vnc/gui.c @@ -70,6 +70,8 @@ int tray_embed(Window iconwin, int remove) { long info[2] = {XEMBED_VERSION, XEMBED_MAPPED}; long data = 0; + RAWFB_RET(0) + if (remove) { if (!valid_window(iconwin, &attr, 1)) { return 0; @@ -156,6 +158,8 @@ static int tray_manager_running(Display *d, Window *manager) { Atom tray_manager; Window tray_win; + RAWFB_RET(0) + if (manager) { *manager = None; } |