summaryrefslogtreecommitdiffstats
path: root/twin/activation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/activation.cpp')
-rw-r--r--twin/activation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/twin/activation.cpp b/twin/activation.cpp
index 47e0f9a34..4d8193403 100644
--- a/twin/activation.cpp
+++ b/twin/activation.cpp
@@ -166,7 +166,7 @@ namespace KWinInternal
be used, and it's old; also, creation timestamp is changed to
the time the instance starts (re-)initializing the window,
this ensures creation timestamp will still work somewhat even in this case
- - KUniqueApplication - when the window is already visible, and the new instance
+ - TDEUniqueApplication - when the window is already visible, and the new instance
wants it to activate
- without focus stealing prevention - _NET_ACTIVE_WINDOW - no problem
- with ASN - ASN is forwarded, and set on the already visible window, KWin
@@ -692,7 +692,7 @@ Time Client::readUserCreationTime() const
unsigned char *data = 0;
KXErrorHandler handler; // ignore errors?
status = XGetWindowProperty( tqt_xdisplay(), window(),
- atoms->kde_net_wm_user_creation_time, 0, 10000, FALSE, XA_CARDINAL,
+ atoms->kde_net_wm_user_creation_time, 0, 10000, False, XA_CARDINAL,
&type, &format, &nitems, &extra, &data );
if (status == Success )
{
@@ -864,7 +864,7 @@ void Client::setActive( bool act, bool updateOpacity_)
if (isModal() && transientFor())
{
if (!act) transientFor()->updateOpacity();
- else if (!transientFor()->custom_opacity) transientFor()->setOpacity(options->translucentActiveWindows, options->activeWindowOpacity);
+ else if (!transientFor()->custom_opacity) transientFor()->setOpacity(options->translucentActiveWindows ? options->activeWindowOpacity : Opacity::Opaque);
}
updateShadowSize();