aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
Commit message (Collapse)AuthorAgeFilesLines
* Implement `min/max_dimensions` for x11 windows.Ivo Wetzel2016-03-061-6/+28
| | | | | | | | | | Size hints are only being set for non-fullscreen windows, if `max_dimensions` are set they'll override the normal `dimensions` since X11 will not automatically resize the window after setting the size hints. `PSize` hint is currently set along with the `min/max` hints for good measure.
* Add phases to wheel events.Patrick Walton2016-03-034-9/+18
| | | | Needed for apps to support overscroll on the Mac.
* Fix this_platform_is_not_supported on OpenBSD.Kirill Zdornyy2016-03-018-8/+8
| | | | I followed the steps of @mneumann.
* cocoa: Post Awakened events at the end of the queue to avoid floods.Patrick Walton2016-02-291-1/+1
| | | | Closes servo/webrender#179.
* TouchpadPressure eventPaul Rouget2016-02-261-4/+7
|
* Unlocks platform-specific attributesPierre Krieger2016-02-104-7/+28
|
* Update the emscripten port of glutinPierre Krieger2016-02-093-10/+33
|
* allow non ascii character in ReceivedCharacterPaul Rouget2016-02-081-3/+1
|
* Merge pull request #709 from gdamjan/support-utf8-window-titletomaka2016-02-031-7/+20
|\ | | | | support utf8 window titles via _NET_WM_NAME standard
| * call set_title() in new()Damjan Georgievski2016-01-171-4/+2
| | | | | | | | …instead of low-level X11 calls that don't work with utf8
| * support utf8 window titles via _NET_WM_NAME standardDamjan Georgievski2016-01-171-3/+18
| | | | | | | | | | | | | | based on this freerdp patch https://github.com/FreeRDP/FreeRDP/commit/9767f7f042a58aae876e0ad3b2e7bde356c8fda9 thanks to emiliocobos on irc
* | osx: scroll delta should take hidpi factor into accountPaul Rouget2016-02-021-2/+5
| |
* | Use double buffering by default on GLXMatt Brubeck2016-01-281-4/+3
| |
* | Allow it to work under Xvfb.Michael Howell2016-01-191-30/+27
| | | | | | | | Part of servo/servo#8641
* | Merge pull request #703 from FredrikNoren/mastertomaka2016-01-183-129/+106
|\ \ | |/ |/| Fix cocoa headless. Fixes #635
| * Construct cocoa headless context based on argsFredrik Noren2016-01-183-98/+105
| |
| * Fix cocoa headlessFredrik Noren2016-01-081-39/+9
| |
* | Adding os::macos.Johan Sköld2016-01-171-1/+1
| | | | | | | | Also implements platform_window() for cocoa.
* | x11: Poll the window until it is really visibleEmilio Cobos Álvarez2016-01-161-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #697 It seems that `XSync` doesn't really makes the window viewable. This feels hacky, other option to do it could be using `XIfEvent` or similar to listen to `MapNotify` events, but we'll have a loop still. In practice, this lasts between two and thre iterations on my machine, which is something not noticeable.
* | Prefer double buffer on wgl if unspecifiedDavid Hewson2016-01-141-5/+5
|/ | | | According to https://msdn.microsoft.com/en-us/library/windows/desktop/dd318284(v=vs.85).aspx if double buffer is unavailable then a single buffer will be returned
* Merge pull request #700 from ecoal95/querydevice-leaktomaka2016-01-071-2/+6
|\ | | | | x11: Prevent leak on XIQueryDevice
| * x11: Prevent leak on XIQueryDeviceEmilio Cobos Álvarez2016-01-061-2/+6
| | | | | | | | | | | | | | Per http://linux.die.net/man/3/xiquerydevice: > XIFreeDeviceInfo frees the information returned by > XIQueryDevice.
* | Fix wrong screen ID used on GLXPierre Krieger2016-01-052-7/+8
|/
* Fix EGL for wayland.Victor Berger2016-01-031-6/+6
|
* Add better X error handlingPierre Krieger2015-12-304-5/+83
|
* Merge pull request #687 from Aceeri/mastertomaka2015-12-301-0/+18
|\ | | | | Support for side buttons on mouse
| * Support for side buttons on mouseAceeri2015-12-291-0/+18
| |
* | Add a useless call to `glXQueryVersion()` before doing anything in the GLX ↵Patrick Walton2015-12-291-0/+12
|/ | | | port to work around a bug in the VirtualBox OpenGL driver.
* Merge pull request #684 from AnthIste/0.4.4-cocoa-apitomaka2015-12-291-4/+13
|\ | | | | Implement set_cursor_position on OSX with Cocoa
| * Reduce cursor warp delay with CGAssociateMouseAndMouseCursorPositionRuben Bakker2015-12-291-4/+6
| |
| * Implement set_cursor_position with CGWarpMouseCursorPositionRuben Bakker2015-12-281-4/+11
| |
* | Merge pull request #680 from tomaka/xsynctomaka2015-12-291-8/+14
|\ \ | | | | | | Call XSync before XSetInputFocus
| * | Only call XSetInputFocus if the window is visiblePierre Krieger2015-12-241-12/+14
| | |
| * | Call XSync before XSetInputFocusPierre Krieger2015-12-241-0/+4
| | |
* | | Removed unnecessary unsafe code blockRengierof2015-12-261-5/+3
| | |
* | | Fixes cursor behavior with windowsRengierof2015-12-263-20/+38
|/ /
* | api/wayland: fix cursor errorsVictor Berger2015-12-222-5/+11
| |
* | api/wayland: output and fullscreen handling.Victor Berger2015-12-223-22/+190
| |
* | api/wayland: add keyboard support.Victor Berger2015-12-224-2/+255
| |
* | api/wayland: pointer events support.Victor Berger2015-12-223-9/+119
| |
* | api/wayland: core windows and events structure.Victor Berger2015-12-224-24/+234
| |
* | api/wayland: core contextVictor Berger2015-12-222-1/+44
| |
* | api/wayland: move window and monitor to mods.Victor Berger2015-12-223-218/+213
| |
* | api/wayland: Reset to empty API.Victor Berger2015-12-223-691/+26
|/ | | | In order to build the whole new structure.
* Merge pull request #677 from tomaka/pftomaka2015-12-204-279/+616
|\ | | | | No longer manually enumerate pixel formats
| * Fix compilation on linuxPierre Krieger2015-12-191-52/+59
| |
| * Fix compilation on cocoaPierre Krieger2015-12-191-3/+3
| |
| * Update EGL implementationPierre Krieger2015-12-191-83/+139
| |
| * Update cocoa implementation with changes to pf_reqsPierre Krieger2015-12-191-4/+16
| |
| * Update GLX to use glXChooseFBConfigPierre Krieger2015-12-191-56/+120
| |