projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0837fa9
)
shell: Don't move maximized window
author
Ricardo Vieira
<ricardo.vieira@tecnico.ulisboa.pt>
Sat, 18 Jan 2014 16:30:50 +0000
(16:30 +0000)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 20 Jan 2014 18:36:28 +0000
(10:36 -0800)
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.
desktop-shell/shell.c
patch
|
blob
|
history
diff --git
a/desktop-shell/shell.c
b/desktop-shell/shell.c
index
2b9241c
..
2f8e610
100644
(file)
--- a/
desktop-shell/shell.c
+++ b/
desktop-shell/shell.c
@@
-1475,7
+1475,7
@@
surface_move(struct shell_surface *shsurf, struct weston_seat *seat)
if (shsurf->grabbed)
return 0;
- if (shsurf->state.fullscreen)
+ if (shsurf->state.fullscreen
|| shsurf->state.maximized
)
return 0;
move = malloc(sizeof *move);