commit | f1c3bd8e81b1873ca4455835fd4eba4fad1ee1b9 | [log] [tgz] |
---|---|---|
author | Ricardo Vieira <ricardo.vieira@tecnico.ulisboa.pt> | Sat Jan 18 16:30:50 2014 +0000 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Mon Jan 20 10:36:28 2014 -0800 |
tree | 8b4e93fe9d03e2dd69f301e178c5dda5fd6733ff | |
parent | 0837fa9626d452baf451ebbeed3d4b851914ff0f [diff] [blame] |
shell: Don't move maximized window We'll want to ask the client to unmaximize once we get support for that in xdg-shell, but for now, just refuse moving a maximized window.
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 2b9241c..2f8e610 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c
@@ -1475,7 +1475,7 @@ if (shsurf->grabbed) return 0; - if (shsurf->state.fullscreen) + if (shsurf->state.fullscreen || shsurf->state.maximized) return 0; move = malloc(sizeof *move);