aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
| |
| * Switch WGL to ChoosePixelFormatPierre Krieger2015-12-191-105/+303
| |
* | Merge pull request #673 from ahihi/mastertomaka2015-12-201-19/+17
|\ \ | |/ |/| Fix fullscreen on OS X
| * Fix fullscreen on OS XMiranda Kastemaa2015-12-111-19/+17
| |
* | x11: Improve xlib error reportingEmilio Cobos Álvarez2015-12-151-10/+4
|/
* Merge pull request #659 from Aceeri/minmaxwindowtomaka2015-12-057-15/+82
|\ | | | | Minimum/maximum dimensions for windows in win32 API
| * Fixed wrong variable binding for WindowAttributes on assertsAceeri2015-11-092-4/+4
| |
| * Not implemented asserts to prevent silent failsAceeri2015-11-094-0/+16
| |
| * Removed comments, fixed Some/None matches, removed unnecessary lock checksAceeri2015-11-091-13/+8
| |
| * Corrections to sharing dataAceeri2015-11-093-19/+20
| |
| * Minimum/maximum dimensions for windows in win32 apiAceeri2015-11-093-13/+68
| |
* | Fix the windows buildPierre Krieger2015-12-011-3/+3
| |
* | Try to fix Windows buildSimon Sapin2015-12-011-39/+39
| |
* | Update some librariesSimon Sapin2015-12-013-28/+28
| |
* | Fix compilation for 32 bit targetsOlaf Buddenhagen2015-11-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression introduced in 47df0e9eaa7f1231a07f86fc44426936c7a2589a Casting fullscreen_atom (which is the result from XInternAtom, i.e. c_ulong) as i64 is obviously wrong -- the whole point of types such as c_ulong is that long in C does *not* always have the same bit size... Cast it as c_long instead. While this is the most straightforward fix, I'm not sure it's the best one: perhaps the x11 crate should offer a set_ulong() method along with set_long(), which could be used here instead of the cast?
* | Merge pull request #646 from adambadawy/mastertomaka2015-11-111-18/+73
|\ \ | |/ |/| Fix fullscreen on X11