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
This commit is contained in:
Cosimo Cecchi 2007-07-23 00:46:03 +00:00 committed by Thomas James Alexander Thurman
parent 8bbccb91f7
commit e8b016984b
2 changed files with 10 additions and 0 deletions

View File

@ -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> 2007-07-22 Yair Hershkovitz <yairhr@gmail.com>
Reverse window buttons and align them to the left for RTL locales. Reverse window buttons and align them to the left for RTL locales.

View File

@ -6001,6 +6001,9 @@ set_allowed_actions_hint (MetaWindow *window)
{ {
data[i] = window->display->atom_net_wm_action_resize; data[i] = window->display->atom_net_wm_action_resize;
++i; ++i;
}
if (window->has_fullscreen_func)
{
data[i] = window->display->atom_net_wm_action_fullscreen; data[i] = window->display->atom_net_wm_action_fullscreen;
++i; ++i;
} }