• src/conio/x_events.c

    From deuce@VERT to CVS commit on Friday, March 06, 2020 22:26:47
    src/conio x_events.c 1.56 1.57
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv4478

    Modified Files:
    x_events.c
    Log Message:
    Always redraw the screen on an expose event (this was actually a bug)
    Avoid gratuitous xim reallocations (not a bug)
    Avoid gratuitous redraws (not a bug)
    Avoid posting and waiting on a semaphore from the same thread (ehhhh....)
    After blocking on XNextEvent(), drain all X events in the queue (not a bug)




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Monday, April 13, 2020 10:05:35
    src/conio x_events.c 1.59 1.60
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv19003

    Modified Files:
    x_events.c
    Log Message:
    Clean up copy/paste per ICCCM.
    If this doesn't fix the copy/paste issues nelgin was having, nothing will.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Tuesday, April 14, 2020 11:11:44
    src/conio x_events.c 1.61 1.62
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv29839

    Modified Files:
    x_events.c
    Log Message:
    Fix issue with X11 textmode() implementation.
    The xim wasn't scaled to the new size (ever)



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Tuesday, April 14, 2020 11:25:50
    src/conio x_events.c 1.62 1.63
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv32048

    Modified Files:
    x_events.c
    Log Message:
    Resize the window if X and Y aren't scaled the same amount.
    Resize the xim if the window isn't scaled.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Friday, April 17, 2020 09:12:23
    src/conio x_events.c 1.66 1.67
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv18803

    Modified Files:
    x_events.c
    Log Message:
    XA_STRING is explicitly ISO-8859-1




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Friday, April 17, 2020 12:00:41
    src/conio x_events.c 1.68 1.69
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv12931

    Modified Files:
    x_events.c
    Log Message:
    Use chars if neither of ALT or CTRL are pressed, scancodes otherwise.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Friday, April 17, 2020 12:20:02
    src/conio x_events.c 1.69 1.70
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv16558

    Modified Files:
    x_events.c
    Log Message:
    Throw out the last rect when changing modes.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Monday, April 20, 2020 13:05:22
    src/conio x_events.c 1.71 1.72
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv32525

    Modified Files:
    x_events.c
    Log Message:
    Fix input translation... default cpchar is zero.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, September 23, 2024 11:02:55
    https://gitlab.synchro.net/main/sbbs/-/commit/f5160b014413cbfee9c8ec7c
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Fix build when XRandR is available, but Xinerama isn't.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, September 29, 2024 14:39:53
    https://gitlab.synchro.net/main/sbbs/-/commit/f2257585720b4972280f48da
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Actually don't call XSetICFocus() at start. :(

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, September 29, 2024 18:45:17
    https://gitlab.synchro.net/main/sbbs/-/commit/235ce71a6a01a20d6b3801a5
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Never call XMapWindow() in response to a _NET_FRAME_EXTENTS change

    This breaks at least herbstluftwm's focus-follows-mouse, and rustles
    Cyan's jimmies.

    It's also a terrible idea.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, September 29, 2024 19:03:34
    https://gitlab.synchro.net/main/sbbs/-/commit/56c269ffc22dde02df5df429
    Modified Files:
    src/conio/x_events.c
    Log Message:
    If we're not mapping, only XSetWMNormalHints() if it's different.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, September 29, 2024 19:16:10
    https://gitlab.synchro.net/main/sbbs/-/commit/d58c1bba6f02c14d23fe06c9
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Refine last commit...

    Add a comment explaining why we do what we do, and verify the aspect
    is unchanged as well since we could change only the aspect and need
    to set new hints in some cases.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, September 29, 2024 19:24:11
    https://gitlab.synchro.net/main/sbbs/-/commit/ea0e1c4999f98b8804ece464
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Fix warnings in last commit.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, September 30, 2024 16:03:41
    https://gitlab.synchro.net/main/sbbs/-/commit/63434549e82588a0cac2404a
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Fix some more warnings when not using optional features.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, January 04, 2025 21:51:35
    https://gitlab.synchro.net/main/sbbs/-/commit/5e5ddd25ca0f8aeb6f3c71b4
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Ensure max width and height are initialized

    Prevents X11 mode from doing very weird things when we are unable
    to get the max window size from the window manager.
    Found by scan-build

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, January 04, 2025 21:51:35
    https://gitlab.synchro.net/main/sbbs/-/commit/d5a2666a0d78fa1d931758f0
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Ensure max width and height are initialized for new window size

    Prevents randomly sized windows in X11 mode when the max window
    size can't be read from window manager.
    Found by scan-build

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, January 06, 2025 14:38:43
    https://gitlab.synchro.net/main/sbbs/-/commit/86d5357334b6905759460aa8
    Modified Files:
    src/conio/x_events.c
    Log Message:
    As the final fallback for screen dimensions, use the root size.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, January 06, 2025 14:46:27
    https://gitlab.synchro.net/main/sbbs/-/commit/015c976e20a466bfe798ea46
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Allow fullscreen_geometry() before window is created

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, January 06, 2025 14:50:22
    https://gitlab.synchro.net/main/sbbs/-/commit/1a0b897182a9e874a6f78570
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Add closing brace left out in previous commit.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, January 06, 2025 16:17:29
    https://gitlab.synchro.net/main/sbbs/-/commit/44a8f52425c03c6ad6bb2456
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Handle case where we receive a MapNotify without a ConfigureNotify first

    This shouldn't happen, but it does!

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, January 07, 2025 01:15:54
    https://gitlab.synchro.net/main/sbbs/-/commit/fa05a42f5a35eb12fe5b57da
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Fix initial setting of _NET_WM_ICON

    Previously, did not include the size, so was a 0x0 icon.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, January 07, 2025 15:19:02
    https://gitlab.synchro.net/main/sbbs/-/commit/8ead23f14344771b5a432e29
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Ugh. Atom is unsigned long... unsigned long can be 64-bit

    We can't just memcpy() this because it's not a uint32_t, it's an
    Atom.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, January 07, 2025 15:37:08
    https://gitlab.synchro.net/main/sbbs/-/commit/c9fdbfa213c2dbd16acddc02
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Actually, it's a long, not an Atom... same thing though.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, January 19, 2025 17:17:12
    https://gitlab.synchro.net/main/sbbs/-/commit/13fcf2f23a9d845ba5685258
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Recalculate scaling when resize_window() is called in fullscreen mode.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, January 19, 2025 17:53:11
    https://gitlab.synchro.net/main/sbbs/-/commit/baf9603eaa287c0f6e1ad5ce
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Add some debug logging

    Maybe we can figure out what the Chromebook is doing...

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, January 19, 2025 20:24:31
    https://gitlab.synchro.net/main/sbbs/-/commit/f300a32ef58f0340ce60f075
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Remove debug code

    It looks like the ChromeOS WM is resizeing the window. :(

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, January 19, 2025 20:30:57
    https://gitlab.synchro.net/main/sbbs/-/commit/819c6891d47851c2a49fff0f
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Formatting

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net