summaryrefslogtreecommitdiff
path: root/sway/main.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2015-08-08 18:22:22 -0400
committerDrew DeVault <[email protected]>2015-08-08 18:22:22 -0400
commitc7be30d91261180c9be65a3c2d8f40975f6a2e05 (patch)
treebe48479257eb28221023a921a004a85a6059a2f2 /sway/main.c
parent6066467dff2a1c55c124f618af8a5406bfc6fac9 (diff)
Deny window resize requests
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c
index e8603cab..65aa0faa 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -41,7 +41,10 @@ int main(int argc, char **argv) {
.view = {
.created = handle_view_created,
.destroyed = handle_view_destroyed,
- .focus = handle_view_focus
+ .focus = handle_view_focus,
+ .request = {
+ .geometry = handle_view_geometry_request
+ }
}
};