X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fdock.c;h=c26eee6291457adefc0394c930213ca96ab7ae52;hb=c1d21a1a6d88189ab3c5569b2b776d846bb6c11a;hp=b8a5ff5668d42f39b9b05dca00142582436ba95a;hpb=1ffc0021325e30db7bb7f8b2a17ca7f5546b3324;p=chaz%2Fopenbox diff --git a/openbox/dock.c b/openbox/dock.c index b8a5ff56..c26eee62 100644 --- a/openbox/dock.c +++ b/openbox/dock.c @@ -145,7 +145,7 @@ void dock_manage(Window icon_win, Window name_win) app->name_win = name_win; app->icon_win = icon_win; - if (OBT_PROP_GETSS(app->name_win, WM_CLASS, locale, &data)) { + if (OBT_PROP_GETSS_TYPE(app->name_win, WM_CLASS, STRING_NO_CC, &data)) { if (data[0]) { app->name = g_strdup(data[0]); if (data[1]) @@ -551,6 +551,8 @@ void dock_configure(void) dock->area.height += ob_rr_theme->obwidth * 2; } + /* screen_resize() depends on this function to call screen_update_areas(), + so if this changes, also update screen_resize(). */ screen_update_areas(); } @@ -632,7 +634,6 @@ static gboolean hide_timeout(gpointer data) hide_timeout_id = 0; - XFlush(obt_display); return FALSE; /* don't repeat */ } @@ -644,7 +645,6 @@ static gboolean show_timeout(gpointer data) show_timeout_id = 0; - XFlush(obt_display); return FALSE; /* don't repeat */ }