aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-xlib.c
Commit message (Collapse)AuthorAgeFilesLines
* fix some more off by one errorsHEADmasterJesse Luehrs2017-07-181-4/+4
|
* suppress fallthrough warningJesse Luehrs2017-07-021-0/+1
|
* move the mouse reporting response generation into libvt100Jesse Luehrs2017-06-021-60/+50
|
* implement motion mouse reportingJesse Luehrs2017-06-011-7/+31
|
* refactor mouse reportingJesse Luehrs2017-06-011-19/+25
|
* fix mouse reporting with lines in scrollbackJesse Luehrs2017-06-011-0/+1
|
* fix moving the mouse after making a selectionJesse Luehrs2017-02-111-6/+17
| | | | | previously it was always moving the existing selection around even if the mouse button wasn't held down
* only clear the selection if the contents changedJesse Luehrs2017-02-111-11/+1
|
* also handle ctrl+arrowsJesse Luehrs2017-01-271-0/+12
|
* remove the wide emoji hacksJesse Luehrs2017-01-261-1/+1
| | | | | they have been folded into modern versions of glib (>= 2.50.1) as part of unicode 9.0.0
* make wide emoji configurableJesse Luehrs2017-01-251-1/+1
|
* support input escapes for shift+special keysJesse Luehrs2017-01-211-4/+20
|
* handle double click to select strings of wide charactersJesse Luehrs2016-06-061-13/+30
|
* fix redrawing the screen after a visual bellJesse Luehrs2016-06-051-1/+1
|
* avoid a race condition if the window closes while we're double clickingJesse Luehrs2016-06-051-0/+3
|
* no reason to flush the surface hereJesse Luehrs2016-06-051-1/+0
| | | | since we're immediately calling runes_window_flush anyway
* no reason to go through an event hereJesse Luehrs2016-06-051-56/+39
| | | | | | | | i was only doing this before because libuv was using threads, and so i needed a way to trigger redraws on the main thread. if there are other reasons that we might want to delay redraws (to avoid blocking the event loop, for instance), we should just do that by scheduling a 0-timeout timer or something.
* this is unnecessary now that we have rate limitingJesse Luehrs2016-06-051-29/+0
|
* don't acquire the selection until we have something selectedJesse Luehrs2016-06-051-38/+53
| | | | | | clicking in a terminal window shouldn't be sufficient to remove an existing selection from another window (although it should clear the selection in its own window)
* this is probably unnecessaryJesse Luehrs2016-06-051-1/+0
|
* allow more easily running a development version alongside a real oneJesse Luehrs2016-06-051-4/+5
| | | | | | | this just changes the window class (so that i can make the development version use floating windows while not screwing up the layout for my real terminals) and the runesd socket location (so that i can test runesd at all while i'm already running a real runesd).
* have the display own the entire selectionJesse Luehrs2016-06-051-40/+15
| | | | rather than just the selection location
* manually send selection clear events when starting a new selectionJesse Luehrs2016-06-051-0/+12
| | | | | | | this happens automatically if we're taking over the selection from external windows, but doesn't happen if we're just taking the selection over from another window that we share a display connection with (like other runesc windows)
* reset the timer here before doing things that take timeJesse Luehrs2016-06-051-8/+8
|
* this should also count as being handledJesse Luehrs2016-06-051-0/+1
|
* update selection on right clickJesse Luehrs2016-06-051-0/+3
|
* implement double click to select words and triple click to select linesJesse Luehrs2016-06-051-4/+168
|
* stop using non-standard string escapesJesse Luehrs2016-06-041-38/+38
|
* only collapse flush events for a single windowJesse Luehrs2016-05-131-5/+9
|
* ensure that window close events are processed immediatelyJesse Luehrs2016-05-131-0/+1
|
* remove some debugging warningsJesse Luehrs2016-05-121-2/+0
|
* convert to libeventJesse Luehrs2016-05-121-27/+33
| | | | also remove all code supporting threading stuff
* split global window management stuff out into its own fileJesse Luehrs2016-05-111-281/+238
| | | | also rename a few things for clarity
* ensure we don't free a term while there's an active callback pendingJesse Luehrs2016-05-101-2/+5
|
* make sure we only grab events for our windowJesse Luehrs2016-05-101-1/+14
|
* refactor how submodules are handledJesse Luehrs2016-05-101-77/+106
| | | | | | let them own their own memory, so that they can free themselves once they exit the loop. also split out the parts of the terminal that we only want to initialize once, even if we open multiple terminal windows
* make terms handle cleaning themselves upJesse Luehrs2016-05-101-0/+5
|
* redraw the full window after flashing the visual bellJesse Luehrs2016-05-101-0/+3
| | | | | otherwise it leaves the foreground color around the border if the window isn't sized exactly right
* this is no longer necessary (and makes things flickery)Jesse Luehrs2016-05-091-1/+0
|
* use cairo groups instead of writing the double-buffering code myselfJesse Luehrs2016-05-081-5/+2
| | | | pretty much equivalent, but a lot simpler
* avoid some more work (and syscalls) when delaying redrawsJesse Luehrs2016-05-081-5/+7
|
* fix backspace/deleteJesse Luehrs2016-05-081-6/+11
|
* fix large refresh ratesJesse Luehrs2016-05-081-1/+5
|
* the event loop shouldn't care about terms at allJesse Luehrs2016-05-071-12/+12
|
* stop including term.h in runes.hJesse Luehrs2016-05-071-0/+1
|
* move the scroll-down-on-input behavior into the window backendJesse Luehrs2016-05-071-8/+21
|
* use pointer indirection to separate source files even moreJesse Luehrs2016-05-071-116/+122
|
* be a bit more explicit about dependencies between modulesJesse Luehrs2016-05-071-0/+2
|
* split up some unnecessary cross-module dependenciesJesse Luehrs2016-05-071-3/+5
|
* make the redraw rate limit configurableJesse Luehrs2016-05-061-2/+7
|