mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-10 05:44:16 +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,7 +38,10 @@ 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,
|
||||
SLSNewWindow(g_connection,
|
||||
kCGBackingStoreBuffered,
|
||||
window->origin.x,
|
||||
window->origin.y,
|
||||
frame_region,
|
||||
&id );
|
||||
|
||||
|
|
Loading…
Reference in a new issue