Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
KWin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
48
Merge Requests
48
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
KWin
Commits
793eecc8
Commit
793eecc8
authored
Oct 01, 2017
by
Martin Flöser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compile warnings after removing ObscurringWindows
parent
d75e5c63
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
workspace.cpp
workspace.cpp
+2
-4
workspace.h
workspace.h
+1
-1
No files found.
workspace.cpp
View file @
793eecc8
...
...
@@ -873,7 +873,7 @@ void Workspace::slotCurrentDesktopChanged(uint oldDesktop, uint newDesktop)
closeActivePopup
();
++
block_focus
;
StackingUpdatesBlocker
blocker
(
this
);
updateClientVisibilityOnDesktopChange
(
oldDesktop
,
newDesktop
);
updateClientVisibilityOnDesktopChange
(
newDesktop
);
// Restore the focus on this desktop
--
block_focus
;
...
...
@@ -881,7 +881,7 @@ void Workspace::slotCurrentDesktopChanged(uint oldDesktop, uint newDesktop)
emit
currentDesktopChanged
(
oldDesktop
,
movingClient
);
}
void
Workspace
::
updateClientVisibilityOnDesktopChange
(
uint
oldDesktop
,
uint
newDesktop
)
void
Workspace
::
updateClientVisibilityOnDesktopChange
(
uint
newDesktop
)
{
for
(
ToplevelList
::
ConstIterator
it
=
stacking_order
.
constBegin
();
it
!=
stacking_order
.
constEnd
();
...
...
@@ -994,8 +994,6 @@ void Workspace::updateCurrentActivity(const QString &new_activity)
// mapping done from front to back => less exposure events
//Notify::raise((Notify::Event) (Notify::DesktopChange+new_desktop));
const
QString
&
old_activity
=
Activities
::
self
()
->
previous
();
for
(
ToplevelList
::
ConstIterator
it
=
stacking_order
.
constBegin
();
it
!=
stacking_order
.
constEnd
();
++
it
)
{
...
...
workspace.h
View file @
793eecc8
...
...
@@ -527,7 +527,7 @@ private:
void
closeActivePopup
();
void
updateClientArea
(
bool
force
);
void
resetClientAreas
(
uint
desktopCount
);
void
updateClientVisibilityOnDesktopChange
(
uint
oldDesktop
,
uint
newDesktop
);
void
updateClientVisibilityOnDesktopChange
(
uint
newDesktop
);
void
activateClientOnNewDesktop
(
uint
desktop
);
AbstractClient
*
findClientToActivateOnDesktop
(
uint
desktop
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment