From 72c84d16dcb5acff57a408388703baf94916105f Mon Sep 17 00:00:00 2001 From: marha Date: Thu, 1 May 2014 21:48:37 +0200 Subject: Solved problem with notab and noframe styles --- xorg-server/hw/xwin/winprefs.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'xorg-server/hw/xwin/winprefs.c') diff --git a/xorg-server/hw/xwin/winprefs.c b/xorg-server/hw/xwin/winprefs.c index 6fff8a10d..3d21066f4 100644 --- a/xorg-server/hw/xwin/winprefs.c +++ b/xorg-server/hw/xwin/winprefs.c @@ -771,3 +771,24 @@ winOverrideStyle(char *res_name, char *res_class, char *wmName) /* Didn't find the style, fail gracefully */ return STYLE_NONE; } + +/* + * Check for a match of the window class to one specified in the + * TASKBAR{} section in the prefs file + */ +unsigned long +winOverrideTaskbar(char *res_name, char *res_class, char *wmName) +{ + int i; + + for (i=0; i