Window resize fixes
This commit is contained in:
@@ -473,7 +473,6 @@ static char *clipboardString = NULL;
|
||||
|
||||
char buffer[1024];
|
||||
|
||||
void gpu_internal_resize(int width, int height);
|
||||
static void init_pen_device(XDeviceInfo *info, struct x11_pen_device *pen, bool eraser);
|
||||
|
||||
static void load_lib(void **lib, const char *name) {
|
||||
@@ -1198,7 +1197,7 @@ static bool _handle_messages() {
|
||||
if (event.xconfigure.width != k_window->width || event.xconfigure.height != k_window->height) {
|
||||
k_window->width = event.xconfigure.width;
|
||||
k_window->height = event.xconfigure.height;
|
||||
gpu_internal_resize(event.xconfigure.width, event.xconfigure.height);
|
||||
gpu_resize(event.xconfigure.width, event.xconfigure.height);
|
||||
iron_internal_call_resize_callback(event.xconfigure.width, event.xconfigure.height);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user