2023-09-03 00:51:45 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
|
|
2023-11-21 02:52:15 +02:00
|
|
|
int init_x11(Display **display, Window *window, const char* title, int window_width, int window_height);
|
2023-09-03 00:51:45 +03:00
|
|
|
void close_x11(Display **display, Window *window);
|
2023-11-21 02:52:15 +02:00
|
|
|
void resize_x11_window(Display *display, Window window);
|
2023-10-02 03:24:58 +02:00
|
|
|
void toggle_fullscreen(Display *display, Window window);
|
2023-11-26 01:29:17 +02:00
|
|
|
void get_screen_size(Display *display, int *width, int *height);
|
|
|
|
|
void x11_make_window_non_resizable(Display *display, Window window, int width, int height);
|