2023/09/25

2023-09-25 00:22:25 +0000 <haskellbridge> <R​en> I was hoping someone could help me understand XMonad's behavior. I've been playing around with making my own GTK app to have as a desktop background so it has the window hint GDK_WINDOW_TYPE_HINT_DESKTOP, and the docks XConfig correctly ignores it letting it sit in the background, but by doing so it puts a complete stop to mouse-over switching screens. Without my desktop backgrou
2023-09-25 00:22:25 +0000 <haskellbridge> <clipped message>
2023-09-25 00:22:26 +0000 <haskellbridge> <R​en> nd app running, the screen focus switches as I move my mouse between monitors even if those screen are devoid of any windows to actually focus on. How can I maintain this feature while still having a desktop app? Is it even possible?
2023-09-25 00:23:27 +0000 <geekosaur> no. X11 limitation
2023-09-25 00:23:56 +0000 <geekosaur> well, might work if your program ignores Xinerama/XRandR and covers the entire root window
2023-09-25 00:24:27 +0000 <geekosaur> but I suspect not because the root window is treated specially by XRandR
2023-09-25 00:26:09 +0000 <haskellbridge> <R​en> That's too bad, and I've gotten so used to the convenience too. This is my first time using GTK and trying to dive into this stuff in general, so I wouldn't know how to try out that root window thing, but I'll keep it in mind as I learn
2023-09-25 00:26:41 +0000 <haskellbridge> <R​en> Thanks for the quick answer
2023-09-25 00:26:55 +0000 <geekosaur> an alternative might be to draw directly into the root window instead of creating your own desktop window
2023-09-25 01:00:32 +0000 <haskellbridge> <R​en> I certainly don't know how to do that at the moment, would that even maintain the interactivity of the program?
2023-09-25 01:20:33 +0000 <geekosaur> no
2023-09-25 01:37:06 +0000 <haskellbridge> <R​en> Yeah, I just experimented some with xwinwrap, I'll wager a guess that the X11 limitation involves the window capturing input since not passing -ni (no input) to xwinwrap also puts an end to automatic screen switching
2023-09-25 01:38:18 +0000 <geekosaur> it's a little more complex than that
2023-09-25 01:38:44 +0000 <geekosaur> multiple screens in X11 are a big hack involving the root window, so only the root window is actually aware of multiple screens
2023-09-25 01:43:10 +0000 <haskellbridge> <R​en> So, mousing over the root window, and information on what screen it is can be gathered, but any other window has no idea what screen it is on?
2023-09-25 01:48:08 +0000 <geekosaur> essentially, yes
2023-09-25 01:48:14 +0000 <geekosaur> that's a large part of the hack
2023-09-25 01:49:18 +0000 <geekosaur> all the monitors are carved out of the root window; normal windows generally stick to a monitor. and mouse position is reported relative to the window's upper left corner, so only the root which spans all monitors knows the mouse's true position
2023-09-25 01:49:54 +0000 <geekosaur> which is why I suggested trying to create a window spanning the entire root; hopefully it'll work the same way. but gtk will fight it
2023-09-25 01:58:30 +0000 <haskellbridge> <R​en> Well just going with what I know, making the window span both my screens results is functionally the same result as just having it on my first monitor, so I think the screen it knows about is the one where it's origin in, even though it spans both monitors. I suppose if one could send a message to XMonad and ask to switch to n screen, It could be possible to recreate the original
2023-09-25 01:58:30 +0000 <haskellbridge> <clipped message>
2023-09-25 01:58:31 +0000 <haskellbridge> <R​en> behavior, since the gdk library has enough info to build a full model of my screens
2023-09-25 01:59:46 +0000 <haskellbridge> <R​en> But that is also probably not so simple, if at all possible since I doubt it is getting mouse events a lot since most of the time, windows are on top of it
2023-09-25 02:12:21 +0000td_(~td@i5387092C.versanet.de) (Ping timeout: 258 seconds)
2023-09-25 02:13:59 +0000td_(~td@i53870932.versanet.de)
2023-09-25 05:34:03 +0000chomwitt(~chomwitt@2a02:587:7a2f:d000:1ac0:4dff:fedb:a3f1)
2023-09-25 07:11:07 +0000chomwitt(~chomwitt@2a02:587:7a2f:d000:1ac0:4dff:fedb:a3f1) (Ping timeout: 264 seconds)
2023-09-25 07:17:25 +0000chomwitt(~chomwitt@2a02:587:7a2f:d000:1ac0:4dff:fedb:a3f1)
2023-09-25 07:43:33 +0000hightower2(~hightower@141-136-211-208.dsl.iskon.hr) (Ping timeout: 258 seconds)
2023-09-25 08:10:37 +0000matijja(~matijja@193.77.181.201) (Quit: ZNC 1.8.2 - https://znc.in)
2023-09-25 08:11:29 +0000matijja(~matijja@193.77.181.201)
2023-09-25 08:18:13 +0000hightower2(~hightower@85.94.71.188)
2023-09-25 08:24:50 +0000cfricke(~cfricke@user/cfricke)
2023-09-25 08:56:35 +0000cfricke(~cfricke@user/cfricke) (Ping timeout: 240 seconds)
2023-09-25 09:02:05 +0000cfricke(~cfricke@user/cfricke)
2023-09-25 09:21:48 +0000chomwitt(~chomwitt@2a02:587:7a2f:d000:1ac0:4dff:fedb:a3f1) (Ping timeout: 240 seconds)
2023-09-25 10:09:30 +0000ft(~ft@p3e9bc680.dip0.t-ipconnect.de) (Quit: leaving)
2023-09-25 10:56:13 +0000srk-(~sorki@user/srk)
2023-09-25 10:58:47 +0000srk|(~sorki@user/srk)
2023-09-25 10:59:19 +0000srk(~sorki@user/srk) (Ping timeout: 244 seconds)
2023-09-25 11:01:55 +0000srk|srk
2023-09-25 11:02:29 +0000srk-(~sorki@user/srk) (Ping timeout: 255 seconds)
2023-09-25 11:23:15 +0000raghavgururajan_(ea769b8000@2604:bf00:561:2000::242)
2023-09-25 11:23:20 +0000zoglesby_(f0f8ca1525@2604:bf00:561:2000::64)
2023-09-25 11:24:00 +0000samhh__(7569f027cf@2604:bf00:561:2000::e4)
2023-09-25 11:25:57 +0000chomwitt(~chomwitt@2a02:587:7a2f:d000:1ac0:4dff:fedb:a3f1)
2023-09-25 11:27:55 +0000alethkit_(23bd17ddc6@sourcehut/user/alethkit)
2023-09-25 11:30:55 +0000jludwig(~justin@li657-110.members.linode.com) (*.net *.split)
2023-09-25 11:30:56 +0000alethkit(23bd17ddc6@sourcehut/user/alethkit) (*.net *.split)
2023-09-25 11:30:57 +0000samhh(7569f027cf@2604:bf00:561:2000::e4) (*.net *.split)
2023-09-25 11:30:58 +0000zoglesby(f0f8ca1525@user/zoglesby) (*.net *.split)
2023-09-25 11:30:58 +0000raghavgururajan(ea769b8000@user/raghavgururajan) (*.net *.split)
2023-09-25 11:30:58 +0000B-J(~BenziJuni@88-149-64-112.du.xdsl.is) (*.net *.split)
2023-09-25 11:31:03 +0000alethkit_alethkit
2023-09-25 11:31:06 +0000zoglesby_zoglesby
2023-09-25 11:31:19 +0000alethkit(23bd17ddc6@sourcehut/user/alethkit) (Read error: Connection reset by peer)
2023-09-25 11:31:19 +0000samhh__(7569f027cf@2604:bf00:561:2000::e4) (Write error: Connection reset by peer)
2023-09-25 11:31:19 +0000zoglesby(f0f8ca1525@2604:bf00:561:2000::64) (Write error: Connection reset by peer)
2023-09-25 11:31:21 +0000raghavgururajan_(ea769b8000@2604:bf00:561:2000::242) (Write error: Connection reset by peer)
2023-09-25 11:31:29 +0000zoglesby(f0f8ca1525@2604:bf00:561:2000::64)
2023-09-25 11:31:30 +0000raghavgururajan(ea769b8000@2604:bf00:561:2000::242)
2023-09-25 11:31:39 +0000raghavgururajan(ea769b8000@2604:bf00:561:2000::242) (Changing host)
2023-09-25 11:31:39 +0000raghavgururajan(ea769b8000@user/raghavgururajan)
2023-09-25 11:31:41 +0000zoglesby(f0f8ca1525@2604:bf00:561:2000::64) (Changing host)
2023-09-25 11:31:41 +0000zoglesby(f0f8ca1525@user/zoglesby)
2023-09-25 11:32:56 +0000samhh_(7569f027cf@2604:bf00:561:2000::e4)
2023-09-25 11:33:27 +0000alethkit(23bd17ddc6@sourcehut/user/alethkit)
2023-09-25 11:35:05 +0000jludwig(~justin@li657-110.members.linode.com)
2023-09-25 11:35:05 +0000B-J(~BenziJuni@88-149-64-112.du.xdsl.is)
2023-09-25 12:13:51 +0000cfricke(~cfricke@user/cfricke) (Quit: WeeChat 4.0.4)
2023-09-25 13:15:07 +0000chomwitt(~chomwitt@2a02:587:7a2f:d000:1ac0:4dff:fedb:a3f1) (Remote host closed the connection)
2023-09-25 13:15:31 +0000chomwitt(~chomwitt@2a02:587:7a2f:d000:1ac0:4dff:fedb:a3f1)
2023-09-25 13:20:30 +0000pantsu(~Urist@archlinux/op/MrElendig) (Quit: all hail donk)
2023-09-25 13:21:38 +0000MrElendig(~Urist@archlinux/op/MrElendig)
2023-09-25 13:41:13 +0000chomwitt(~chomwitt@2a02:587:7a2f:d000:1ac0:4dff:fedb:a3f1) (Ping timeout: 240 seconds)
2023-09-25 14:29:22 +0000hightower2(~hightower@85.94.71.188) (Ping timeout: 260 seconds)
2023-09-25 14:36:02 +0000chomwitt(~chomwitt@2a02:587:7a2f:d000:1ac0:4dff:fedb:a3f1)
2023-09-25 14:53:00 +0000chomwitt(~chomwitt@2a02:587:7a2f:d000:1ac0:4dff:fedb:a3f1) (Ping timeout: 240 seconds)
2023-09-25 15:01:49 +0000hightower2(~hightower@141-136-211-208.dsl.iskon.hr)
2023-09-25 15:27:52 +0000chomwitt(~chomwitt@2a02:587:7a2f:d000:1ac0:4dff:fedb:a3f1)
2023-09-25 16:20:04 +0000chomwitt(~chomwitt@2a02:587:7a2f:d000:1ac0:4dff:fedb:a3f1) (Remote host closed the connection)
2023-09-25 20:52:58 +0000ft(~ft@p3e9bc680.dip0.t-ipconnect.de)
2023-09-25 21:08:21 +0000exordiri(~ex@user/exordiri) (Remote host closed the connection)