fixed #960535, Deiconify with apps set 'sticky'

This commit is contained in:
mathias 2005-04-23 08:44:45 +00:00
parent b0076fb3b4
commit efe4ead214
2 changed files with 7 additions and 3 deletions

View file

@ -1,7 +1,9 @@
(Format: Year/Month/Day)
Changes for 0.9.13
*05/04/23:
* Fixed #1020399 aka broken ShowDesktop - command (mathias)
* Fixed #960535 aka Deiconify with apps set 'sticky' (Mathias)
FbCommands.cc
* Fixed #1020399 aka broken ShowDesktop - command (Mathias)
WorkspaceCmd.cc
*05/04/22:
* clear maximized-Flags of a resized/moved Window (Mathias)

View file

@ -313,7 +313,8 @@ void DeiconifyCmd::execute() {
case ALLWORKSPACE:
for(; it != itend; it++) {
old_workspace_num= (*it)->workspaceNumber();
if (m_mode == ALL || old_workspace_num == workspace_num) {
if (m_mode == ALL || old_workspace_num == workspace_num ||
(*it)->isStuck()) {
if (m_dest == ORIGIN || m_dest == ORIGINQUIET)
screen->sendToWorkspace(old_workspace_num, (*it), change_ws);
else
@ -327,7 +328,8 @@ void DeiconifyCmd::execute() {
default:
for (; it != itend; it++) {
old_workspace_num= (*it)->workspaceNumber();
if(m_mode == LAST || old_workspace_num == workspace_num) {
if(m_mode == LAST || old_workspace_num == workspace_num ||
(*it)->isStuck()) {
if ((m_dest == ORIGIN || m_dest == ORIGINQUIET) &&
m_mode != LASTWORKSPACE)
screen->sendToWorkspace(old_workspace_num, (*it), change_ws);