mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-22 11:23:02 +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;
|
frame.origin = CGPointZero;
|
||||||
CFTypeRef frame_region = window_create_region(window, frame);
|
CFTypeRef frame_region = window_create_region(window, frame);
|
||||||
uint64_t id;
|
uint64_t id;
|
||||||
SLSNewWindow(g_connection, 2, window->origin.x, window->origin.y,
|
SLSNewWindow(g_connection,
|
||||||
frame_region,
|
kCGBackingStoreBuffered,
|
||||||
&id );
|
window->origin.x,
|
||||||
|
window->origin.y,
|
||||||
|
frame_region,
|
||||||
|
&id );
|
||||||
|
|
||||||
window->id = (uint32_t)id;
|
window->id = (uint32_t)id;
|
||||||
CFRelease(frame_region);
|
CFRelease(frame_region);
|
||||||
|
|
Loading…
Reference in a new issue