<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>149011</bug_id>
          
          <creation_ts>2007-08-20 00:57:18 +0000</creation_ts>
          <short_desc>Block global shorcuts has broken</short_desc>
          <delta_ts>2007-08-23 17:04:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Krister Bäckman">ixevix</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>ixevix</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>541702</commentid>
    <comment_count>0</comment_count>
    <who name="Krister Bäckman">ixevix</who>
    <bug_when>2007-08-20 00:57:19 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.5.7)
Installed from:    Gentoo Packages
Compiler:          gcc-4.1.2 
OS:                Linux

After upgrading to KDE 3.5.7 the option &quot;Block global shortcuts&quot; in KWin doesn&apos;t block alt + mouse to move a window anymore. It has done this in previous versions of KDE.

I don&apos;t know if this is wanted behavior but I thought I should file a bug report. If it is indeed expected behavior then could it be made into an option rather than to force it either way?

This bug has forced me to downgrade to KDE 3.5.5 so that I can get the behavior I expect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>542310</commentid>
    <comment_count>1</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2007-08-23 17:04:07 +0000</bug_when>
    <thetext>SVN commit 703895 by lunakl:

No idea why I removed this in r603293.
BUG: 149011



 M  +9 -0      events.cpp  


--- branches/KDE/3.5/kdebase/kwin/events.cpp #703894:703895
@@ -992,6 +992,15 @@
  */
 void Client::updateMouseGrab()
     {
+    if( workspace()-&gt;globalShortcutsDisabled())
+        {
+        XUngrabButton( qt_xdisplay(), AnyButton, AnyModifier, wrapperId());
+        // keep grab for the simple click without modifiers if needed (see below)
+        bool not_obscured = workspace()-&gt;topClientOnDesktop( workspace()-&gt;currentDesktop(), true, false ) == this;
+        if( !( !options-&gt;clickRaise || not_obscured ))
+            grabButton( None );
+        return;
+        }
     if( isActive() &amp;&amp; !workspace()-&gt;forcedGlobalMouseGrab()) // see Workspace::establishTabBoxGrab()
         {
         // remove the grab for no modifiers only if the window
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>