summaryrefslogtreecommitdiff
path: root/include/libnsfb_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libnsfb_event.h')
-rw-r--r--include/libnsfb_event.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libnsfb_event.h b/include/libnsfb_event.h
index 6944654..f98b5ba 100644
--- a/include/libnsfb_event.h
+++ b/include/libnsfb_event.h
@@ -18,6 +18,7 @@ enum nsfb_event_type_e {
NSFB_EVENT_KEY_UP,
NSFB_EVENT_MOVE_RELATIVE,
NSFB_EVENT_MOVE_ABSOLUTE,
+ NSFB_EVENT_RESIZE
};
@@ -194,6 +195,10 @@ struct nsfb_event_s {
int y;
int z;
} vector;
+ struct {
+ int w; /**< Width in pixels */
+ int h; /**< Height in pixels */
+ } resize; /**< Window resize event: NSFB_EVENT_RESIZE */
} value;
};