commit:     7ab41be7bf6cd60125443735148049be9f6c384e
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Jul 25 17:20:28 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 27 03:49:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ab41be7

x11-wm/xmonad: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.11
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-wm/xmonad/files/xmonad-0.12-check-repeat.patch | 40 ----------------------
 1 file changed, 40 deletions(-)

diff --git a/x11-wm/xmonad/files/xmonad-0.12-check-repeat.patch 
b/x11-wm/xmonad/files/xmonad-0.12-check-repeat.patch
deleted file mode 100644
index 79bd2c2d21fa..000000000000
--- a/x11-wm/xmonad/files/xmonad-0.12-check-repeat.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- xmonad/src/XMonad/Core.hs  2010-09-05 05:11:42.000000000 +0400
-+++ xmonad/src/XMonad/Core.hs  2010-09-18 07:59:14.000000000 +0400
-@@ -65,6 +65,7 @@
-     , waitingUnmap     :: !(M.Map Window Int)            -- ^ the number of 
expected UnmapEvents
-     , dragging         :: !(Maybe (Position -> Position -> X (), X ()))
-     , numberlockMask   :: !KeyMask                       -- ^ The numlock 
modifier
-+    , keyPressed       :: !KeyCode                       -- ^ keycode of the 
key being pressed if any
-     , extensibleState  :: !(M.Map String (Either String StateExtension))
-     -- ^ stores custom state information.
-     --
---- xmonad/src/XMonad/Main.hs  2010-09-05 05:11:42.000000000 +0400
-+++ xmonad/src/XMonad/Main.hs  2010-09-18 08:03:11.000000000 +0400
-@@ -129,6 +129,7 @@
-             , mapped          = S.empty
-             , waitingUnmap    = M.empty
-             , dragging        = Nothing
-+            , keyPressed      = 0
-             , extensibleState = extState
-             }
-     allocaXEvent $ \e ->
-@@ -190,10 +191,15 @@
- -- run window manager command
- handle (KeyEvent {ev_event_type = t, ev_state = m, ev_keycode = code})
-     | t == keyPress = withDisplay $ \dpy -> do
--        s  <- io $ keycodeToKeysym dpy code 0
--        mClean <- cleanMask m
--        ks <- asks keyActions
--        userCodeDef () $ whenJust (M.lookup (mClean, s) ks) id
-+        kp <- gets keyPressed
-+        if kp /= code then do
-+                modify $ \s -> s { keyPressed = code }
-+                s  <- io $ keycodeToKeysym dpy code 0
-+                mClean <- cleanMask m
-+                ks <- asks keyActions
-+                userCodeDef () $ whenJust (M.lookup (mClean, s) ks) id
-+            else return ()
-+    | t == keyRelease = modify $ \s -> s { keyPressed = 0 }
- 
- -- manage a new window
- handle (MapRequestEvent    {ev_window = w}) = withDisplay $ \dpy -> do

Reply via email to