summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <anarki@lilik.it>2007-07-23 00:46:03 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2007-07-23 00:46:03 +0000
commite8b016984b6b66c6f441374d143bc0796aac0874 (patch)
tree7d48c1381ea0694c9b4a1102828899686bd31c58
parent8bbccb91f79fa10e4196d977a1b88e942436f693 (diff)
downloadmetacity-e8b016984b6b66c6f441374d143bc0796aac0874.tar.gz
Unset fullscreen is an allowed action where relevant. Fixes #449427.
2007-07-22 Cosimo Cecchi <anarki@lilik.it> Unset fullscreen is an allowed action where relevant. Fixes #449427. * src/window.c (set_allowed_actions_hint): Separate FULLSCREEN action from RESIZE action. svn path=/trunk/; revision=3272
-rw-r--r--ChangeLog7
-rw-r--r--src/window.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a81147d4..e9d655c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-07-22 Cosimo Cecchi <anarki@lilik.it>
+
+ Unset fullscreen is an allowed action where relevant. Fixes #449427.
+
+ * src/window.c (set_allowed_actions_hint): Separate FULLSCREEN action
+ from RESIZE action.
+
2007-07-22 Yair Hershkovitz <yairhr@gmail.com>
Reverse window buttons and align them to the left for RTL locales.
diff --git a/src/window.c b/src/window.c
index fb26ae49..064c8f56 100644
--- a/src/window.c
+++ b/src/window.c
@@ -6001,6 +6001,9 @@ set_allowed_actions_hint (MetaWindow *window)
{
data[i] = window->display->atom_net_wm_action_resize;
++i;
+ }
+ if (window->has_fullscreen_func)
+ {
data[i] = window->display->atom_net_wm_action_fullscreen;
++i;
}