aboutsummaryrefslogtreecommitdiffstats
path: root/src/win.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-04-22 16:22:05 -0400
committerDavid Robillard <d@drobilla.net>2022-04-23 21:18:48 -0400
commit60fedf09703e8e8351c01dcea3075f4e5c50ba4c (patch)
treee4cd1bb34e9d601d5990999b583ee1728712a7b6 /src/win.c
parentadbf9ead293375855da61fecd695cbb6045c5639 (diff)
downloadpugl-60fedf09703e8e8351c01dcea3075f4e5c50ba4c.tar.gz
pugl-60fedf09703e8e8351c01dcea3075f4e5c50ba4c.tar.bz2
pugl-60fedf09703e8e8351c01dcea3075f4e5c50ba4c.zip
Windows: Remove redundant view size assignment
Diffstat (limited to 'src/win.c')
-rw-r--r--src/win.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/win.c b/src/win.c
index f5f674c..13c8863 100644
--- a/src/win.c
+++ b/src/win.c
@@ -483,11 +483,6 @@ handleConfigure(PuglView* view, PuglEvent* event)
event->configure.width = width;
event->configure.height = height;
- if (view->frame.width != width || view->frame.height != height) {
- view->frame.width = width;
- view->frame.height = height;
- }
-
return rect;
}