mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-25 21:00:18 +00:00
use kCGBackingStoreBuffered enum value
This commit is contained in:
parent
a8012ff3d9
commit
4f0a754f7f
1 changed files with 6 additions and 3 deletions
|
@ -38,9 +38,12 @@ void window_create(struct window* window, CGRect frame) {
|
|||
frame.origin = CGPointZero;
|
||||
CFTypeRef frame_region = window_create_region(window, frame);
|
||||
uint64_t id;
|
||||
SLSNewWindow(g_connection, 2, window->origin.x, window->origin.y,
|
||||
frame_region,
|
||||
&id );
|
||||
SLSNewWindow(g_connection,
|
||||
kCGBackingStoreBuffered,
|
||||
window->origin.x,
|
||||
window->origin.y,
|
||||
frame_region,
|
||||
&id );
|
||||
|
||||
window->id = (uint32_t)id;
|
||||
CFRelease(frame_region);
|
||||
|
|
Loading…
Reference in a new issue