• src/conio/x_cio.c x_events.c x_events.h

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Jun 2 10:58:00 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/2714bdd5e12de663bdc2e47f
    Modified Files:
    src/conio/x_cio.c x_events.c x_events.h
    Log Message:
    Create a Pixmap for the icon rather than _NET_WM_ICONIt seems whatever WM XWayland uses doesn't actually use _NET_WM_ICONlike pretty much everything else for the last 30 years does, so weneed to go old-school or settle for the default pengion icon, whichoffends me personally.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deuce@1:103/705 to Git commit to main/sbbs/master on Sun Jun 4 16:02:38 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/90c9245526efb68c67f22bc8
    Modified Files:
    src/conio/x_cio.c x_events.c x_events.h
    Log Message:
    Add X11 fullscreen and do a bunch of other fixesJust use _NET_WM_STATE protocol for fullscreen... messing aroundwith the methods is pretty painful.Because we're not messing with other stuff, we can likely removeall the code I added to prepare for this. :DTesting this really highlighted other broken bits, so a bunch ofthat has been fixed as well... including the bug that Ragnorokhadn't reported yet as of last time I looked (corrupted screen whenmaximixed).
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Sep 29 14:28:58 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/aff8feb7c59044017c8d1b73
    Modified Files:
    src/conio/x_cio.c x_events.c x_events.h
    Log Message:
    Have the IC focus follow the X11 focus

    Basically, If we get a FocusOut, call XUnsetICFocus(), and if we
    get a FocusIn, call XSetICFocus(). Since we're doing this, don't
    call XSetICFocus() unconditionally at start, wait for the server
    to send us the initial FocusIn instead.

    The only bit I'm not sure of is if I got the times to ignor
    messages right... see here: https://tronche.com/gui/x/xlib/events/input-focus/normal-and-grabbed.html
    If you want to check my work.

    May fix the focus follows mouse issue reported by Cyan.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Dec 31 15:06:54 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/a638eee661a618e0ecf33ded
    Modified Files:
    src/conio/x_cio.c x_events.c x_events.h
    Log Message:
    In X11 mode, support arbitrary character entry.

    You still cannot enter a NUL.

    Holding down ALT and entering an 8-bit decimal number on the keypad
    starting with a digit from 1-9 will pass that byte to the input
    buffer as entered.

    If you prefix the decimal number with the keypad zero, you can enter
    a Unicode codepoint to be translated and sent (if it translates).
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)