*** EvilJStoker <EvilJStoker!jstoker@unaffiliated/jstoker> has quit IRC (Ping timeout: 272 seconds) | 03:17 | |
*** EvilJStoker <EvilJStoker!jstoker@unaffiliated/jstoker> has joined #bzflag | 03:18 | |
*** bryjen <bryjen!~bryjen@cpe-74-140-75-218.columbus.res.rr.com> has joined #bzflag | 03:39 | |
*** SpringTank <SpringTank!~quassel@69-154-138-57.lightspeed.rcsntx.sbcglobal.net> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 03:55 | |
*** Zehra <Zehra!~Keiki_Han@unaffiliated/zehra> has quit IRC (Quit: Quit) | 04:00 | |
*** SpringTank <SpringTank!~quassel@69-154-138-57.lightspeed.rcsntx.sbcglobal.net> has joined #bzflag | 04:00 | |
*** bryjen <bryjen!~bryjen@cpe-74-140-75-218.columbus.res.rr.com> has quit IRC (Quit: Leaving) | 05:58 | |
*** BulletCatcher <BulletCatcher!~bc@bzflag/developer/BulletCatcher> has left #bzflag ("tank sank") | 06:00 | |
*** BulletCatcher <BulletCatcher!~bc@bzflag/developer/BulletCatcher> has joined #bzflag | 07:08 | |
*** ChanServ sets mode: +v BulletCatcher | 07:08 | |
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (Read error: Connection reset by peer) | 10:23 | |
*** Kissee80 <Kissee80!~maeganeat@185.180.14.152> has joined #bzflag | 12:41 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has quit IRC (Read error: Connection reset by peer) | 17:26 | |
macsforme | blast007: I poked around a bit with issue #268 (the offset viewport when restoring a minimized window on macOS)... so far it seems to be yet another SDL 2 quirk | 17:50 |
---|---|---|
macsforme | what I observed was, when it behaves correctly (when you click on the minimized window itself to restore), the very first event is SDL_WINDOWEVENT_MOVED to the position 0, 0... when you click on the app icon to restore, or command tab, the move event comes last, and it's to a position of half the difference between the scaled and the native resolutions | 17:52 |
macsforme | e.g., my native resolution is 1440 x 900, my scaled resolution is 800 x 500, and the move event position is 320, -200 | 17:54 |
macsforme | I hoped for an easy workaround... so far, SDL_SetWindowPosition(window, 0, 0) right after the event does fix the X offset but not the Y offset for some reason... and furthermore, SDL_GetWindowPosition() returns 0,0 even when the offset is in effect, so that isn't a reliable way to test for the condition | 17:57 |
*** Zehra <Zehra!~Keiki_Han@unaffiliated/zehra> has joined #bzflag | 18:16 | |
macsforme | we may need to destroy and re-create the window to fix it | 18:21 |
macsforme | I should try building in Big Sur and/or with SDL bleeding edge code to see if either of those fix it | 18:50 |
*** Agatha <Agatha!~agatha@2601:681:527f:e8f0:c8ad:21c3:5846:3b4b> has quit IRC (Read error: Connection reset by peer) | 19:05 | |
*** Agatha <Agatha!~agatha@2601:681:527f:e8f0:5cca:22f2:6e60:ff2> has joined #bzflag | 20:54 | |
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag | 21:26 | |
*** ChanServ <ChanServ!ChanServ@services.> has quit IRC (*.net *.split) | 22:55 | |
*** ChanServ <ChanServ!ChanServ@services.> has joined #bzflag | 23:01 | |
*** egan.freenode.net sets mode: +o ChanServ | 23:01 |
Generated by irclog2html.py 2.17.3.dev0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!