.It Firefox:Dialog
FLOAT
.It Gimp:gimp
-FLOAT | ANYWHERE
+FLOAT + ANYWHERE
.It MPlayer:xv
-FLOAT | FULLSCREEN
+FLOAT + FULLSCREEN
.It OpenOffice.org 2.4:VCLSalFrame
FLOAT
.It OpenOffice.org 3.1:VCLSalFrame
.It pcb:pcb
FLOAT
.It xine:Xine Window
-FLOAT | ANYWHERE
+FLOAT + ANYWHERE
.It xine:xine Panel
-FLOAT | ANYWHERE
+FLOAT + ANYWHERE
.It xine:xine Video Fullscreen Window
-FULLSCREEN | FLOAT
+FULLSCREEN + FLOAT
.It Xitk:Xitk Combo
-FLOAT | ANYWHERE
+FLOAT + ANYWHERE
.It Xitk:Xine Window
-FLOAT | ANYWHERE
+FLOAT + ANYWHERE
.It XTerm:xterm
XTERM_FONTADJ
.El
.Pp
Custom quirks in the configuration file are specified as follows:
.Pp
-.Dl quirk[<class>:<name>] = <quirk> [ | <quirk> ... ]
+.Dl quirk[<class>:<name>] = <quirk> [ + <quirk> ... ]
.Pp
.Aq class
and
is one of the quirks from the list above.
For example:
.Bd -literal -offset indent
-quirk[MPlayer:xv] = FLOAT | FULLSCREEN # let mplayer play
+quirk[MPlayer:xv] = FLOAT + FULLSCREEN # let mplayer play
quirk[pcb:pcb] = NONE # remove existing quirk
.Ed
.Pp
-Note that spaces in
-.Aq class
-or
-.Aq name
-must be replaced by an underscore in the configuration.
-The config entry for "xine:Xine Panel" would be:
-.Bd -literal -offset indent
-quirk[xine:Xine_Panel] = FLOAT
-.Ed
-.Pp
You can obtain
.Aq class
and
"FULLSCREEN",
};
-#define SWM_Q_WS "\n| \t"
+/* SWM_Q_WS: retain '|' for back compat for now (2009-08-11) */
+#define SWM_Q_WS "\n|+ \t"
int
parsequirks(char *qstr, unsigned long *quirk)
{
# quirks
# remove with: quirk[class:name] = NONE
-#quirk[MPlayer:xv] = FLOAT | FULLSCREEN
-#quirk[OpenOffice.org_2.4:VCLSalFrame] = FLOAT
-#quirk[OpenOffice.org_3.0:VCLSalFrame] = FLOAT
+#quirk[MPlayer:xv] = FLOAT + FULLSCREEN
+#quirk[OpenOffice.org 2.4:VCLSalFrame] = FLOAT
+#quirk[OpenOffice.org 3.0:VCLSalFrame] = FLOAT
#quirk[Firefox-bin:firefox-bin] = TRANSSZ
#quirk[Firefox:Dialog] = FLOAT
-#quirk[Gimp:gimp] = FLOAT | ANYWHERE
-#quirk[XTerm:xterm] = XTERM_FONTADJ
-#quirk[xine:Xine_Window] = FLOAT | ANYWHERE
-#quirk[Xitk:Xitk_Combo] = FLOAT | ANYWHERE
-#quirk[xine:xine_Panel] = FLOAT | ANYWHERE
-#quirk[Xitk:Xine_Window] = FLOAT | ANYWHERE
-#quirk[xine:xine_Video_Fullscreen_Window] = FULLSCREEN | FLOAT
+#quirk[Gimp:gimp] = FLOAT + ANYWHERE
+#quirk[XTerm:xterm] = XTERM FONTADJ
+#quirk[xine:Xine Window] = FLOAT + ANYWHERE
+#quirk[Xitk:Xitk Combo] = FLOAT + ANYWHERE
+#quirk[xine:xine Panel] = FLOAT + ANYWHERE
+#quirk[Xitk:Xine Window] = FLOAT + ANYWHERE
+#quirk[xine:xine Video Fullscreen Window] = FULLSCREEN + FLOAT
#quirk[pcb:pcb] = FLOAT