readd scaled resolutions

This commit is contained in:
FelixKratz 2021-10-04 12:03:07 +02:00
parent a547bdad12
commit c5569d9600

View file

@ -266,7 +266,7 @@ void bar_create_window(struct bar* bar) {
SLSNewWindow(g_connection, 2, bar->origin.x, bar->origin.y, frame_region, &bar->id); SLSNewWindow(g_connection, 2, bar->origin.x, bar->origin.y, frame_region, &bar->id);
CFRelease(frame_region); CFRelease(frame_region);
//SLSSetWindowResolution(g_connection, bar->id, 2.0f); SLSSetWindowResolution(g_connection, bar->id, 2.0f);
SLSSetWindowTags(g_connection, bar->id, set_tags, 64); SLSSetWindowTags(g_connection, bar->id, set_tags, 64);
SLSClearWindowTags(g_connection, bar->id, clear_tags, 64); SLSClearWindowTags(g_connection, bar->id, clear_tags, 64);
SLSSetWindowOpacity(g_connection, bar->id, 0); SLSSetWindowOpacity(g_connection, bar->id, 0);