mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 14:24:14 +01:00
- Added double buffering when drawing a WMFrame title with an AA font to avoid
flickering. - Added double buffering when drawing WMList items to avoid flickering - Shared xft drawable - Renamed AASystemFont and AABoldSystemFont to AntialiasedSystemFont respectively AntialiasedBoldSystemFont in WMGLOBAL - WMCreateFont falls back to normal fonts if antialiased fonts cannot be created (even if enabled)
This commit is contained in:
@@ -115,8 +115,8 @@ INCLUDES = \
|
||||
wmaker_LDADD = \
|
||||
$(top_builddir)/WINGs/libWINGs.a\
|
||||
$(top_builddir)/wrlib/libwraster.la\
|
||||
@XLIBS@ \
|
||||
@XFTLIBS@ \
|
||||
@XLIBS@ \
|
||||
@INTLIBS@ \
|
||||
@DLLIBS@
|
||||
|
||||
|
||||
13
src/gnome.c
13
src/gnome.c
@@ -650,7 +650,8 @@ wGNOMERemoveClient(WWindow *wwin)
|
||||
|
||||
|
||||
|
||||
static void observer(void *self, WMNotification *notif)
|
||||
static void
|
||||
observer(void *self, WMNotification *notif)
|
||||
{
|
||||
WWindow *wwin = (WWindow*)WMGetNotificationObject(notif);
|
||||
const char *name = WMGetNotificationName(notif);
|
||||
@@ -665,10 +666,12 @@ static void observer(void *self, WMNotification *notif)
|
||||
wGNOMEUpdateClientStateHint(wwin, True);
|
||||
} else if (strcmp(name, WMNChangedState) == 0 && wwin) {
|
||||
wGNOMEUpdateClientStateHint(wwin, False);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void wsobserver(void *self, WMNotification *notif)
|
||||
|
||||
static void
|
||||
wsobserver(void *self, WMNotification *notif)
|
||||
{
|
||||
WScreen *scr = (WScreen*)WMGetNotificationObject(notif);
|
||||
const char *name = WMGetNotificationName(notif);
|
||||
@@ -681,10 +684,8 @@ static void wsobserver(void *self, WMNotification *notif)
|
||||
wGNOMEUpdateWorkspaceNamesHint(scr);
|
||||
} else if (strcmp(name, WMNWorkspaceChanged) == 0) {
|
||||
wGNOMEUpdateCurrentWorkspaceHint(scr);
|
||||
|
||||
|
||||
} else if (strcmp(name, WMNResetStacking) == 0) {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -352,6 +352,9 @@ wOLWMCheckClientHints(WWindow *wwin)
|
||||
|
||||
menuType = MT_LIMITED;
|
||||
|
||||
/* this is a transient-like window */
|
||||
wwin->client_flags.olwm_transient = 1;
|
||||
|
||||
} else if (hints.winType == WT_NOTICE) {
|
||||
|
||||
decoration = OL_DECORATION_ICONNAME;
|
||||
@@ -397,11 +400,6 @@ wOLWMCheckClientHints(WWindow *wwin)
|
||||
else
|
||||
wwin->flags.olwm_limit_menu = 1;
|
||||
|
||||
/* this is a transient-like window */
|
||||
if (hints.winType == WT_CMD) {
|
||||
wwin->client_flags.olwm_transient = 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Emulate olwm pushpin.
|
||||
* If the initial state of the pin is in, then put the normal close
|
||||
|
||||
@@ -139,11 +139,11 @@ typedef struct _WScreen {
|
||||
* by other clients (not us) */
|
||||
WArea totalUsableArea; /* same as above, but including
|
||||
* the dock and other stuff */
|
||||
|
||||
|
||||
|
||||
WMPixel black_pixel;
|
||||
WMPixel white_pixel;
|
||||
|
||||
|
||||
WMPixel light_pixel;
|
||||
WMPixel dark_pixel;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user