mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
- Changed fallback font to 'sans serif:pixelsize=12'
- Fixed convertfonts to account for $LANG - Fixed convertfonts logic a bit and no longer output slant and weight if they are the default ones (medium and roman) - Applied Pascal's fix for GNUstep menus (modified to also include submenus) Still this is not the proper fix, as it can't differentiate between submenus and other windows at the floating window level. Correct fix needs some extra hints to be set by GNUstep on menus.
This commit is contained in:
12
src/window.c
12
src/window.c
@@ -339,6 +339,18 @@ setupGNUstepHints(WWindow *wwin, GNUstepWMAttributes *gs_hints)
|
||||
if (gs_hints->extra_flags & GSNoApplicationIconFlag) {
|
||||
wwin->client_flags.no_appicon = 1;
|
||||
}
|
||||
|
||||
/* temporary solution to avoid GS menus in our window list.
|
||||
* it's temporary because it's not the proper way: windows at the
|
||||
* floating level are also skipped from the window list with this.
|
||||
* Fix it -Dan */
|
||||
if (gs_hints->flags & GSWindowLevelAttr) {
|
||||
if (gs_hints->window_level == WMMainMenuWindowLevel ||
|
||||
gs_hints->window_level == WMSubmenuWindowLevel) {
|
||||
wwin->client_flags.skip_window_list = 1;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user