From e8b016984b6b66c6f441374d143bc0796aac0874 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Mon, 23 Jul 2007 00:46:03 +0000 Subject: [PATCH] Unset fullscreen is an allowed action where relevant. Fixes #449427. 2007-07-22 Cosimo Cecchi 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 --- ChangeLog | 7 +++++++ src/window.c | 3 +++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index a81147d40..e9d655c63 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-07-22 Cosimo Cecchi + + 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 Reverse window buttons and align them to the left for RTL locales. diff --git a/src/window.c b/src/window.c index fb26ae495..064c8f56d 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; }