Logs: liberachat/#xmonad
| 2024-08-15 00:24:55 | <geekosaur> | hm, no, structureNotifyMask is the wrong one and I don't think there's a right one for z-position. you'd have to unconditionally raiseWindow |
| 2024-08-15 00:31:38 | <Leary> | Oh, yeah, just ignore me. XS + raiseWindow in (current) logHook sounds like it would suffice. I actually think 433 would break that. |
| 2024-08-15 00:46:00 | <geekosaur> | I was suggesting handleEventHook, because if it's not managed (and therefore doesn't take focus) then logHook won't fire |
| 2024-08-15 00:46:11 | <geekosaur> | with or without 433 |
| 2024-08-15 00:51:22 | <user42> | geekosaur: Thank you for your replay. So I should keep the `doIgnore` and then do a `raiseWindow` in an handleEventHook, is that correct? |
| 2024-08-15 00:51:52 | <user42> | On which events would I need to do the raiseWindow? |
| 2024-08-15 00:54:20 | <user42> | I haven't looked at it yet, but from what I understand from your reply I would also need to save the window ID in some custom state, presumably because I will not have access to it in the `handleEventHook`. |
| 2024-08-15 00:54:52 | <user42> | At which point would I need to save the window ID? In the `manageHook` when I do the `doIgnore`? |
| 2024-08-15 01:01:13 | <geekosaur> | all events, since the X server doesn't send any event related to z-order (indicating that the window would need to be raised) |
| 2024-08-15 01:04:16 | <geekosaur> | it'd be the manageHook, yes. (className =? "Workrave" --> doIgnore <+> (ask >>= liftX (XS.put . KeepRaised) >> idHook)) or some such, given a type with a constructor KeepRaised (see https://hackage.haskell.org/package/xmonad-contrib-0.18.0/docs/XMonad-Util-ExtensibleState.html) |
| 2024-08-15 01:05:24 | <Leary> | logHook will fire after any window z-reordering; isn't that enough? |
| 2024-08-15 01:05:43 | <geekosaur> | then the handleEventHook would extract ev_window from the event, compare it to the one in KeepRaised (which you receive with XS.get), and withDisplay (\d -> raiseWindow d w) |
| 2024-08-15 01:05:56 | <geekosaur> | only if it's managed |
| 2024-08-15 01:06:26 | <Leary> | It doesn't need to be managed, so long as the window that would overlap it is. |
| 2024-08-15 01:06:50 | <geekosaur> | right, that _may_ be enough |
| 2024-08-15 01:07:29 | <geekosaur> | hm, right, you don't need to check ev_window either since we can't receive events for that window |
| 2024-08-15 01:08:42 | <geekosaur> | just unconditionally https://paste.tomsmeding.com/U6qazUdJ, in handleEventHook or logHook |
| 2024-08-15 01:22:20 | → | dysthesis joins (~dysthesis@user/dysthesis) |
| 2024-08-15 01:23:42 | <user42> | geekosaur: Thanks a lot, I'll give this a try. |
| 2024-08-15 02:22:19 | × | td_ quits (~td@i53870918.versanet.de) (Ping timeout: 260 seconds) |
| 2024-08-15 02:23:49 | → | td_ joins (~td@i53870931.versanet.de) |
| 2024-08-15 03:12:27 | × | user42 quits (~user42@49.228.56.230) (Quit: Client closed) |
| 2024-08-15 03:21:05 | → | user42 joins (~user42@49.228.56.230) |
| 2024-08-15 03:22:39 | × | user42 quits (~user42@49.228.56.230) (Client Quit) |
| 2024-08-15 05:49:56 | × | dysthesis quits (~dysthesis@user/dysthesis) (Ping timeout: 260 seconds) |
| 2024-08-15 05:56:50 | → | dysthesis joins (~dysthesis@user/dysthesis) |
| 2024-08-15 05:58:31 | → | julie_pilgrim joins (~julie_pil@user/julie-pilgrim/x-1240752) |
| 2024-08-15 06:01:28 | × | dysthesis quits (~dysthesis@user/dysthesis) (Remote host closed the connection) |
| 2024-08-15 06:08:30 | → | user42 joins (~user42@49.228.56.230) |
| 2024-08-15 06:46:52 | × | user42 quits (~user42@49.228.56.230) (Quit: Client closed) |
| 2024-08-15 06:55:23 | × | ft quits (~ft@p4fc2aa15.dip0.t-ipconnect.de) (Quit: leaving) |
| 2024-08-15 07:30:30 | × | julie_pilgrim quits (~julie_pil@user/julie-pilgrim/x-1240752) (Remote host closed the connection) |
| 2024-08-15 08:12:46 | → | Digitteknohippie joins (~user@user/digit) |
| 2024-08-15 08:13:22 | × | Digit quits (~user@user/digit) (Ping timeout: 252 seconds) |
| 2024-08-15 08:19:48 | Digitteknohippie | is now known as Digit |
| 2024-08-15 08:41:42 | → | kalj joins (~kalj@h-158-174-207-174.NA.cust.bahnhof.se) |
| 2024-08-15 10:08:30 | × | kalj quits (~kalj@h-158-174-207-174.NA.cust.bahnhof.se) (Quit: Client closed) |
| 2024-08-15 10:58:34 | → | cfricke joins (~cfricke@user/cfricke) |
| 2024-08-15 11:05:35 | → | wlhn joins (~wlhn@dl6-5j8gfh1n484fp87pt-3.rev.dnainternet.fi) |
| 2024-08-15 15:50:57 | × | cfricke quits (~cfricke@user/cfricke) (Ping timeout: 252 seconds) |
| 2024-08-15 16:12:56 | → | cfricke joins (~cfricke@user/cfricke) |
| 2024-08-15 16:17:07 | × | L29Ah quits (~L29Ah@wikipedia/L29Ah) (Read error: Connection reset by peer) |
| 2024-08-15 17:10:37 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 2024-08-15 17:15:14 | → | ChubaDuba joins (~ChubaDuba@176.212.42.92) |
| 2024-08-15 18:08:38 | → | ft joins (~ft@p4fc2aa15.dip0.t-ipconnect.de) |
| 2024-08-15 18:52:26 | × | haskellbridge quits (~hackager@syn-024-093-192-219.res.spectrum.com) (Remote host closed the connection) |
| 2024-08-15 18:54:18 | → | haskellbridge joins (~hackager@syn-024-093-192-219.res.spectrum.com) |
| 2024-08-15 20:12:43 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.2.2) |
| 2024-08-15 20:30:03 | alethkit | is now known as kitaleth |
| 2024-08-15 20:57:53 | × | ChubaDuba quits (~ChubaDuba@176.212.42.92) (Read error: Connection reset by peer) |
| 2024-08-15 21:22:16 | × | Solitary quits (~Solitary@user/solitary) (Read error: Connection reset by peer) |
| 2024-08-15 21:24:58 | × | wlhn quits (~wlhn@dl6-5j8gfh1n484fp87pt-3.rev.dnainternet.fi) (Remote host closed the connection) |
| 2024-08-15 21:25:15 | → | wlhn joins (~wlhn@dl6-5j8gfh1n484fp87pt-3.rev.dnainternet.fi) |
| 2024-08-15 21:25:21 | → | Solitary joins (~Solitary@user/solitary) |
| 2024-08-15 21:37:58 | ← | L29Ah parts (~L29Ah@wikipedia/L29Ah) () |
| 2024-08-15 22:17:26 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 2024-08-16 02:21:52 | × | td_ quits (~td@i53870931.versanet.de) (Ping timeout: 272 seconds) |
| 2024-08-16 02:23:32 | → | td_ joins (~td@i53870937.versanet.de) |
| 2024-08-16 06:26:45 | × | ChanServ quits (ChanServ@services.libera.chat) (shutting down) |
| 2024-08-16 06:27:34 | → | ChanServ joins (ChanServ@services.libera.chat) |
| 2024-08-16 06:27:34 | zinc.libera.chat | sets mode +o ChanServ |
| 2024-08-16 06:31:42 | × | ft quits (~ft@p4fc2aa15.dip0.t-ipconnect.de) (Quit: leaving) |
| 2024-08-16 07:44:37 | Solid_ | is now known as Solid |
| 2024-08-16 09:09:57 | → | ChubaDuba joins (~ChubaDuba@46.147.103.100) |
| 2024-08-16 10:18:42 | → | thyriaen joins (~thyriaen@2001:4bc9:1fb8:12d1:6245:cbff:fe9f:48b1) |
| 2024-08-16 10:21:24 | → | cfricke joins (~cfricke@user/cfricke) |
| 2024-08-16 10:54:35 | × | ChubaDuba quits (~ChubaDuba@46.147.103.100) (Quit: Leaving) |
| 2024-08-16 10:54:55 | → | ChubaDuba joins (~ChubaDuba@46.147.103.100) |
| 2024-08-16 11:20:39 | × | thyriaen quits (~thyriaen@2001:4bc9:1fb8:12d1:6245:cbff:fe9f:48b1) (Remote host closed the connection) |
| 2024-08-16 11:44:25 | × | wlhn quits (~wlhn@dl6-5j8gfh1n484fp87pt-3.rev.dnainternet.fi) (Quit: Leaving) |
| 2024-08-16 12:17:12 | → | ft joins (~ft@p4fc2aa15.dip0.t-ipconnect.de) |
| 2024-08-16 12:39:05 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.2.2) |
| 2024-08-16 13:48:10 | ← | L29Ah parts (~L29Ah@wikipedia/L29Ah) () |
| 2024-08-16 13:48:53 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 2024-08-16 14:16:16 | × | ml| quits (~ml|@user/ml/x-5298235) (Ping timeout: 272 seconds) |
| 2024-08-16 15:35:36 | × | ChubaDuba quits (~ChubaDuba@46.147.103.100) (Quit: WeeChat 4.3.3) |
| 2024-08-16 17:46:01 | → | OftenFaded joins (~OftenFade@user/tisktisk) |
| 2024-08-16 20:53:04 | → | catman joins (~catman@user/catman) |
| 2024-08-16 20:56:57 | × | catman quits (~catman@user/catman) (Client Quit) |
| 2024-08-16 21:01:12 | → | catman joins (~catman@user/catman) |
| 2024-08-16 22:06:29 | × | OftenFaded quits (~OftenFade@user/tisktisk) (Quit: Client closed) |
| 2024-08-16 22:33:54 | × | mekeor quits (~user@2001:a61:2430:1:79b8:e023:999b:a902) (Quit: towards emacs as interface to cybernetic council communism) |
| 2024-08-16 23:12:44 | → | OftenFaded joins (~OftenFade@user/tisktisk) |
| 2024-08-17 01:17:38 | × | OftenFaded quits (~OftenFade@user/tisktisk) (Quit: Client closed) |
| 2024-08-17 02:20:21 | × | td_ quits (~td@i53870937.versanet.de) (Ping timeout: 252 seconds) |
| 2024-08-17 02:22:17 | → | td_ joins (~td@i53870926.versanet.de) |
| 2024-08-17 10:11:04 | → | dysthesis joins (~dysthesis@user/dysthesis) |
| 2024-08-17 11:25:05 | → | ChubaDuba joins (~ChubaDuba@46.147.117.85) |
| 2024-08-17 12:52:46 | × | dysthesis quits (~dysthesis@user/dysthesis) (Ping timeout: 260 seconds) |
| 2024-08-17 12:59:14 | → | ml| joins (~ml|@user/ml/x-5298235) |
| 2024-08-17 13:07:36 | × | ft quits (~ft@p4fc2aa15.dip0.t-ipconnect.de) (Ping timeout: 252 seconds) |
| 2024-08-17 13:09:17 | → | ft joins (~ft@p4fc2a393.dip0.t-ipconnect.de) |
| 2024-08-17 13:16:25 | × | ChubaDuba quits (~ChubaDuba@46.147.117.85) (Quit: Leaving) |
| 2024-08-17 13:16:44 | → | ChubaDuba joins (~ChubaDuba@46.147.117.85) |
| 2024-08-17 14:15:03 | × | catman quits (~catman@user/catman) (Quit: WeeChat 4.3.0-dev) |
| 2024-08-17 14:28:13 | → | catman joins (~catman@user/catman) |
| 2024-08-17 15:48:33 | × | ChubaDuba quits (~ChubaDuba@46.147.117.85) (Quit: WeeChat 4.3.3) |
| 2024-08-17 16:49:01 | ← | L29Ah parts (~L29Ah@wikipedia/L29Ah) () |
| 2024-08-17 17:30:05 | → | Maeda joins (~Maeda@91-161-10-149.subs.proxad.net) |
| 2024-08-17 17:34:20 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
All times are in UTC.