• src/conio/x_events.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Tue May 4 18:02:29 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/2e41ce253c9ee33ae32f5732
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Optimize pixel calculations.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri May 14 17:43:55 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/b41875882ed704448e5cd439
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Clear the entire window when the xim size is potentially changed.

    This fixes issues where "leftovers" from the previous mode would
    remain in a new screen mode.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri May 14 17:50:59 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/62b34c6173d9962581a6792e
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Support ALT-Left/ALR-Right for scaling adjustment in X11 mode.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri May 14 21:57:22 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/ca22bd6d57b9c2b6ce5293ba
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Fix issue where X11 window would be blank on an Expose event.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Mon May 17 21:52:16 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/30921159174c7a59fe366d57
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Add a function to translate event coordinates to screen

    Fixes issue 56

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wed May 19 18:08:44 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/0748cc1e70b9361fb311b931
    Modified Files:
    src/conio/x_events.c
    Log Message:
    No need to resize window just because it moved.

    Fixes X11 window dragging blinkiness.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu May 20 00:38:49 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/99eec30f33a00c0f80daeb44
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Eliminate unused variable that I guess clang doesn't warn about but gcc does.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri May 21 16:23:13 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/a7a1c2689791e8e721946f8f
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Fix newly-introduced memory leak...

    I was going to start keeping the old rect around again, but that
    idea didn't pan out. This massive memory leak is what I get for
    not doing more commits while tuning.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wed Jun 2 23:08:27 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/4c89829e0d5f7aaa9153b364
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Avoid directly manipulating XImage data for now.

    The previous tests to detect RGB8 appear to have been insufficient.
    This may have resulted in various artifacts such as transparency with
    some drivers on some hardware in X11 mode.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wed Jun 2 23:08:27 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/c38a9758a15a7f51d41f0cce
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Remove debug output introduced in last commit

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Mon Sep 23 11:02:55 2024
    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 Sun Sep 29 14:39:53 2024
    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 Sun Sep 29 18:45:17 2024
    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 Sun Sep 29 19:03:34 2024
    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 Sun Sep 29 19:16:10 2024
    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 Sun Sep 29 19:24:11 2024
    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 Mon Sep 30 16:03:41 2024
    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 Sat Jan 4 21:51:35 2025
    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 Sat Jan 4 21:51:35 2025
    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 Mon Jan 6 14:38:43 2025
    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 Mon Jan 6 14:46:27 2025
    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 Mon Jan 6 14:50:22 2025
    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 Mon Jan 6 16:17:29 2025
    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 Tue Jan 7 01:15:54 2025
    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 Tue Jan 7 15:19:02 2025
    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 Tue Jan 7 15:37:08 2025
    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 Sun Jan 19 17:17:12 2025
    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 Sun Jan 19 17:53:11 2025
    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 Sun Jan 19 20:24:31 2025
    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 Sun Jan 19 20:30:57 2025
    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
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Feb 14 01:08:40 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/83c7914b3b10a49fba70ad08
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Fix some scancodes...

    It seems some of the Shift+x codes were incorrect (had unshifted
    as high byte and shifted as low byte).

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