From de5094b0d2180704364c9c9d2b76ac1b5b9cf6fa Mon Sep 17 00:00:00 2001 From: Lionel Flandrin Date: Sun, 6 Mar 2011 16:41:39 +0000 Subject: [PATCH] Add :_NET_WM_DESKTOP to +netwm-supported+ to make OpenOffice.org happy. That seems to make OpenOffice.org behave correctly, when it's missing it keeps sending client-messages requesting group switches when you move it in another group. It may improve the stumpwm experience with other java software as well. I've also added a call to force-output in dformat, I think it's better not to buffer writes to *debug-stream* in case of a crash, it also make it easier to find out what's happening in "real time" when you tail -f the log file. --- primitives.lisp | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/primitives.lisp b/primitives.lisp index ee505ab..e4bfcea 100644 --- a/primitives.lisp +++ b/primitives.lisp @@ -260,6 +260,7 @@ the mode-line, the button clicked, and the x and y of the pointer.") :_NET_CLIENT_LIST :_NET_CLIENT_LIST_STACKING :_NET_ACTIVE_WINDOW + :_NET_WM_DESKTOP :_KDE_NET_SYSTEM_TRAY_WINDOW_FOR) "Supported NETWM properties. Window types are in +WINDOW-TYPES+.") @@ -676,7 +677,8 @@ output directly to a file.") (if (typep ch 'standard-char) ch #\?)) (apply 'format nil fmt args)) - *debug-stream*))) + *debug-stream*) + (force-output *debug-stream*))) (defvar *redirect-stream* nil "This variable Keeps track of the stream all output is sent to when -- 1.7.4.1