summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2022-07-25 19:20:28 +0200
committerSam James <sam@gentoo.org>2022-07-27 04:49:38 +0100
commit7ab41be7bf6cd60125443735148049be9f6c384e (patch)
treeee10cdb0d8f6907588626cc762747e7057f81c54 /x11-wm/xmonad
parentdev-haskell/persistent-test: remove unused patch(es) (diff)
downloadgentoo-7ab41be7bf6cd60125443735148049be9f6c384e.tar.gz
gentoo-7ab41be7bf6cd60125443735148049be9f6c384e.tar.bz2
gentoo-7ab41be7bf6cd60125443735148049be9f6c384e.zip
x11-wm/xmonad: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.11 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-wm/xmonad')
-rw-r--r--x11-wm/xmonad/files/xmonad-0.12-check-repeat.patch40
1 files changed, 0 insertions, 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