Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow OSX WindowBuilder to specify 'activation behavior'. | Corey Farwell | 2016-04-29 | 4 | -22/+73 |
| | |||||
* | x11: Refactor NoneCursor logic so it applies to CursorState::Hide too | Emilio Cobos Álvarez | 2016-04-17 | 1 | -32/+34 |
| | |||||
* | x11: Add cursor hiding | Emilio Cobos Álvarez | 2016-04-17 | 1 | -2/+30 |
| | | | | | The created cursor could be cached and whatnot, but I'm not sure it deserves the complexity. | ||||
* | Improve X11 cursor symbols handling | est31 | 2016-04-17 | 1 | -40/+66 |
| | | | | | | | | | | | | | | | 1. Make it non failing. Before we tried to call XFreeCursor with a cursor of 0 if we couldn't find a cursor. This has then caused a panic. 2. Introduce a system where multiple special cursors are tried in order to work with different themes and desktop environments. This way we get less often into the situation where we have to use a default cursor. 3. Also set names for some cursors that previously only had a placeholder. Fixes #765. Will fix https://github.com/servo/servo/issues/10475 as well. | ||||
* | glx: Always set CONFIG_CAVEAT to DONT_CARE | Boris-Chengbiao Zhou | 2016-04-13 | 1 | -15/+2 |
| | |||||
* | Fix pixel format support detection in glx. #748 | Pierre Chevalier | 2016-04-13 | 1 | -1/+5 |
| | | | | | * by accepting GLX_EXT_framebuffer_sRGB as a sRGB capable framebuffer * the new behaviour matches the wgl codel | ||||
* | Merge pull request #755 from BonsaiDen/glx_multisampling_conformance | tomaka | 2016-04-06 | 1 | -9/+16 |
|\ | | | | | glx: Support non-conformant multisampling fbconfigs. | ||||
| * | glx: Support non-conformant multisampling fbconfigs. | Ivo Wetzel | 2016-03-30 | 1 | -9/+16 |
| | | |||||
* | | Merge branch 'master' of github.com:tomaka/glutin into ↵ | Ivo Wetzel | 2016-03-30 | 5 | -7/+7 |
|\ \ | | | | | | | | | | x11_window_size_constraints | ||||
| * | | Changed MouseMoved((i32, i32)) to MouseMoved(i32, i32), breaking change | Richard Lettich | 2016-03-27 | 5 | -7/+7 |
| |/ | |||||
* | | Correctly apply initial size constraints for x11 windows. | Ivo Wetzel | 2016-03-25 | 1 | -2/+18 |
| | | |||||
* | | Merge branch 'master' into x11_window_size_constraints | Ivo Wetzel | 2016-03-25 | 5 | -63/+103 |
|\| | |||||
| * | Merge pull request #744 from adamncasey/patch-1 | tomaka | 2016-03-24 | 1 | -34/+28 |
| |\ | | | | | | | Enable more Windows keys | ||||
| | * | Enable more Windows keys | Adam Casey | 2016-03-19 | 1 | -34/+28 |
| | | | | | | | | | | | | | | | | | | This should enable most required keys on Windows. Mappings taken from: https://msdn.microsoft.com/en-gb/library/windows/desktop/dd375731%28v=vs.85%29.aspx and applied with some guesswork to the Glutin names. | ||||
| * | | Merge pull request #746 from Thinkofname/hide-cursor-state-x11 | tomaka | 2016-03-24 | 1 | -14/+41 |
| |\ \ | | | | | | | | | Implement CursorState::Hide for x11 | ||||
| | * | | Implement CursorState::Hide for x11 | Thinkofname | 2016-03-21 | 1 | -14/+41 |
| | | | | |||||
| * | | | Remove a debug print added in 1de66e4ef | Thinkofname | 2016-03-21 | 1 | -1/+0 |
| |/ / | |||||
| * / | Update objc to 0.2. | Steven Sheldon | 2016-03-20 | 1 | -9/+10 |
| |/ | |||||
| * | Uncomment more keys on win32 | UK992 | 2016-03-18 | 1 | -6/+6 |
| | | |||||
| * | Add support for navigation keys | Manish Goregaokar | 2016-03-17 | 3 | -4/+9 |
| | | |||||
| * | Merge pull request #733 from fkaa/cocoa-memleak | Paul Rouget | 2016-03-17 | 1 | -1/+13 |
| |\ | | | | | | | Fix memory leak while creating NSEvent and swapping buffers (Fixes #514) | ||||
| | * | Fix memory leak while creating NSEvent and swapping buffers (Fixes #514) | Felix Kaaman | 2016-03-02 | 1 | -1/+13 |
| | | | |||||
| * | | Make Mac borderless windows resizable and draggable. | Patrick Walton | 2016-03-14 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Despite the fact that the style mask contains `NSTitledWindowMask`, the title doesn't show up for two reasons: (a) we draw over it; (b) we make it invisible with a call to `-[NSWindow setTitleVisibility:]`. Addresses servo/servo#9856 and servo/servo#9878. Partially addresses servo/servo#9812. | ||||
* | | | Implement `min/max_dimensions` for x11 windows. | Ivo Wetzel | 2016-03-06 | 1 | -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 Walton | 2016-03-03 | 5 | -10/+19 |
|/ | | | | Needed for apps to support overscroll on the Mac. | ||||
* | Fix this_platform_is_not_supported on OpenBSD. | Kirill Zdornyy | 2016-03-01 | 12 | -14/+14 |
| | | | | I followed the steps of @mneumann. | ||||
* | cocoa: Post Awakened events at the end of the queue to avoid floods. | Patrick Walton | 2016-02-29 | 1 | -1/+1 |
| | | | | Closes servo/webrender#179. | ||||
* | TouchpadPressure event | Paul Rouget | 2016-02-26 | 2 | -4/+14 |
| | |||||
* | Unlocks platform-specific attributes | Pierre Krieger | 2016-02-10 | 13 | -17/+92 |
| | |||||
* | Update the emscripten port of glutin | Pierre Krieger | 2016-02-09 | 6 | -14/+47 |
| | |||||
* | allow non ascii character in ReceivedCharacter | Paul Rouget | 2016-02-08 | 1 | -3/+1 |
| | |||||
* | Merge pull request #709 from gdamjan/support-utf8-window-title | tomaka | 2016-02-03 | 1 | -7/+20 |
|\ | | | | | support utf8 window titles via _NET_WM_NAME standard | ||||
| * | call set_title() in new() | Damjan Georgievski | 2016-01-17 | 1 | -4/+2 |
| | | | | | | | | …instead of low-level X11 calls that don't work with utf8 | ||||
| * | support utf8 window titles via _NET_WM_NAME standard | Damjan Georgievski | 2016-01-17 | 1 | -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 account | Paul Rouget | 2016-02-02 | 1 | -2/+5 |
| | | |||||
* | | Use double buffering by default on GLX | Matt Brubeck | 2016-01-28 | 1 | -4/+3 |
| | | |||||
* | | Replace `i8` with `libc::c_char` | Mátyás Mustoha | 2016-01-26 | 1 | -2/+2 |
| | | |||||
* | | Allow it to work under Xvfb. | Michael Howell | 2016-01-19 | 1 | -30/+27 |
| | | | | | | | | Part of servo/servo#8641 | ||||
* | | Merge pull request #703 from FredrikNoren/master | tomaka | 2016-01-18 | 3 | -129/+106 |
|\ \ | |/ |/| | Fix cocoa headless. Fixes #635 | ||||
| * | Construct cocoa headless context based on args | Fredrik Noren | 2016-01-18 | 3 | -98/+105 |
| | | |||||
| * | Fix cocoa headless | Fredrik Noren | 2016-01-08 | 1 | -39/+9 |
| | | |||||
* | | Adding os::macos. | Johan Sköld | 2016-01-17 | 3 | -1/+22 |
| | | | | | | | | Also implements platform_window() for cocoa. | ||||
* | | x11: Poll the window until it is really visible | Emilio Cobos Álvarez | 2016-01-16 | 1 | -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 unspecified | David Hewson | 2016-01-14 | 1 | -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-leak | tomaka | 2016-01-07 | 1 | -2/+6 |
|\ | | | | | x11: Prevent leak on XIQueryDevice | ||||
| * | x11: Prevent leak on XIQueryDevice | Emilio Cobos Álvarez | 2016-01-06 | 1 | -2/+6 |
| | | | | | | | | | | | | | | Per http://linux.die.net/man/3/xiquerydevice: > XIFreeDeviceInfo frees the information returned by > XIQueryDevice. | ||||
* | | Fix wrong screen ID used on GLX | Pierre Krieger | 2016-01-05 | 2 | -7/+8 |
|/ | |||||
* | Fix EGL for wayland. | Victor Berger | 2016-01-03 | 2 | -7/+7 |
| | |||||
* | Add better X error handling | Pierre Krieger | 2015-12-30 | 5 | -7/+94 |
| | |||||
* | Merge pull request #687 from Aceeri/master | tomaka | 2015-12-30 | 1 | -0/+18 |
|\ | | | | | Support for side buttons on mouse |