Index: uspace/srv/hid/compositor/compositor.c
===================================================================
--- uspace/srv/hid/compositor/compositor.c	(revision c072a292c19db94ad89515ef948e5fabe05dc9f1)
+++ uspace/srv/hid/compositor/compositor.c	(revision 200373928c6b0d2d85f0afee8d1fa4db29c2c656)
@@ -90,4 +90,5 @@
 	link_t link;
 	atomic_t ref_cnt;
+	window_flags_t flags;
 	service_id_t in_dsid;
 	service_id_t out_dsid;
@@ -635,4 +636,11 @@
 	sysarg_t pos_id = IPC_GET_ARG1(*icall);
 	sysarg_t grab_flags = IPC_GET_ARG2(*icall);
+	
+	/*
+	 * Filter out resize grab flags if the window
+	 * is not resizeable.
+	 */
+	if ((win->flags & WINDOW_RESIZEABLE) != WINDOW_RESIZEABLE)
+		grab_flags &= ~(GF_RESIZE_X | GF_RESIZE_Y);
 
 	fibril_mutex_lock(&pointer_list_mtx);
@@ -903,4 +911,6 @@
 				return;
 			}
+			
+			win->flags = IPC_GET_ARG1(call);
 
 			char name_in[LOC_NAME_MAXLEN + 1];
@@ -1885,5 +1895,5 @@
 		fibril_mutex_lock(&window_list_mtx);
 		window_t *win = (window_t *) list_first(&window_list);
-		if (win && win->surface) {
+		if ((win) && (win->surface) && (win->flags & WINDOW_RESIZEABLE)) {
 			window_event_t *event = (window_event_t *) malloc(sizeof(window_event_t));
 			if (event == NULL) {
