aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/window/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* Create reorganizationPierre Krieger2015-04-241-885/+0
|
* Merge pull request #391 from glennw/upstream-i3-vistomaka2015-04-241-0/+5
|\ | | | | Add Expose event handler which is needed on some window managers.
| * Add Expose event handler which is needed on some window managers.Glenn Watson2015-04-241-0/+5
| |
* | Set WM_CLASS based on initial window title.Glenn Watson2015-04-241-0/+10
|/
* Fix compilation on linuxPierre Krieger2015-04-171-9/+9
|
* Merge pull request #368 from Daggerbot/wiptomaka2015-04-171-75/+73
|\ | | | | Using `x11-rs` and `osmesa-rs`.
| * Fixes for x11-rs/osmesa-sys conversion.Daggerbot2015-04-111-3/+3
| |
| * Using `x11-rs` and `osmesa-rs`.Daggerbot2015-04-091-77/+75
| |
* | Implemented get_pixel_format for X11Dzmitry Malyshau2015-04-121-1/+33
| |
* | Adds get_pixel_format() to WindowPierre Krieger2015-04-111-0/+5
|/
* Implement set_cursor_position() on X11Pierre Krieger2015-04-071-2/+6
|
* Fix wait_events() not stopping when window is closed on X11Pierre Krieger2015-04-061-1/+3
|
* Remove deprecated functionsPierre Krieger2015-04-031-1/+1
|
* Remove all features for 1.0 betaPierre Krieger2015-04-031-29/+24
|
* RustupPierre Krieger2015-04-021-2/+2
|
* Fix compilation on x11Pierre Krieger2015-03-281-5/+8
|
* Change grab_cursor and ungrab_cursor to set_cursor_statePierre Krieger2015-03-261-23/+35
|
* Implement grabbing of the mouse pointer for X11Eduard Bopp2015-03-251-0/+27
| | | | | Contains new methods in the Window API that closely mirror the Xlib API. The methods are left unimplemented for other platforms for now.
* Fix compilation by replacing "range" with ".." syntaxNicholas Bishop2015-03-221-1/+1
|
* Add set_cursor_position functionPierre Krieger2015-03-101-0/+4
|
* Add is_current functionPierre Krieger2015-03-041-0/+4
|
* Removed as_slice_with_nul as CString now derefs to a CStrmitchmindtree2015-02-221-1/+1
|
* RingBuf -> VecDeque for other platforms, as_slice_with_nul -> as_bytes_with_nulmitchmindtree2015-02-221-4/+4
|
* expose the platform-specific window handle (currently Win only)Ryan Stewart2015-02-201-0/+4
|
* Improve the OpenGL context request systemPierre Krieger2015-02-181-6/+18
|
* Don't call MakeCurrent(null, null) when destroyingPierre Krieger2015-02-181-1/+2
|
* Fix poll_events returning None when it shouldn'ttomaka2015-02-121-116/+116
|
* Merge pull request #70 from tomaka/fix-iteratorstomaka2015-02-101-141/+176
|\ | | | | Use platform-specific iterators instead
| * X11: use platform specific iterators insteadPierre Krieger2015-02-101-141/+176
| |
* | Implement get_outer_size() on x11tomaka2015-02-101-5/+5
|/
* Rename enum variants of MouseButtonEduard Bopp2015-02-051-4/+4
| | | | | With enums that are namespaced by default, it seems reasonable to be less redundant in the variant naming here.
* On some X11 driver implementations, calling XCloseDisplay from a different ↵Glenn Watson2015-01-301-17/+25
| | | | | | | thread causes memory corruption, resulting in a crash. Change window proxy to be a weak reference so that the XCloseDisplay is always called from the main window.
* Merge pull request #220 from tomaka/x11-vsynctomaka2015-01-251-2/+45
|\ | | | | Implement vsync for x11 and add vsync example
| * Implement vsync for x11 and add vsync examplePierre Krieger2015-01-231-2/+45
| |
* | Merge pull request #221 from tomaka/fix-rctomaka2015-01-251-0/+5
|\ \ | | | | | | Fix race condition with XOpenIM
| * | Fix race condition with XOpenIMPierre Krieger2015-01-231-0/+5
| |/
* / fix for latest rustcAndrew Kelley2015-01-231-2/+1
|/
* Fix log prefixGlenn Watson2015-01-231-1/+1
|
* Some GPU/driver combinations have glxCreateContextAttribsARB present, but it ↵Glenn Watson2015-01-221-2/+14
| | | | fails with an X error. In this case, catch the X error and fall back to the old method of creating a context.
* `c_char` isn't always `i8`Akos Kiss2015-01-201-1/+1
|
* Add missing get_api stubs.Glenn Watson2015-01-191-0/+4
| | | | | | | Add hidpi_factor() support for retina displays. Fix Resize and MouseMoved events to handle retina displays. Fix inverted y position for MouseMoved events on mac. Fix initial painting on retina display.
* x11, android, win32: [ui]size, [u]int -> [ui]32Andrey Lesnikov2015-01-131-11/+11
|
* Merge pull request #192 from bjwbell/mouse-cursorstomaka2015-01-131-1/+48
|\ | | | | Add mouse cursor support
| * Refine X11 cursor selectionsBryan Bell2015-01-121-19/+22
| | | | | | | | | | | | | | For MouseCursor::Cell, NotAllowed, NoDrop, Grab, Grabbing, ... set the appropriate X11 cursor. Also alphabetize the cursors listed in the MouseCursor enum.
| * Add mouse cursor supportBryan Bell2015-01-121-1/+45
| | | | | | | | | | | | | | Add a new api, window.set_cursor, for setting the cursor. The enum MouseCursor lists the possible cursors. Only X11 is implemented. On OSX, Android, & Win32 the window.set_cursor function either does nothing or calls the "unimplemented!" macro.
* | Change uint/int to usize/isizeBryan Bell2015-01-121-13/+13
|/ | | | | From https://github.com/rust-lang/rfcs/pull/544 the types uint/int were renamed to usize/isize.
* Update to latest Rust nightlyAustin Bonander2015-01-081-23/+27
|
* Update for RustcPierre Krieger2015-01-051-2/+2
|
* Update for RustcPierre Krieger2015-01-031-2/+4
|
* Change the way that events are represented.Ty Overby2015-01-011-12/+13
| | | | | | | | | | The bulk of this commit is changing instances of Vec to RingBuf which is optimized for the push_back() / pop_front() strategy that is used internaly in the event system. The glutin custom iterators are now just wrappers around the RingBuf iterator type. This will bring the running time of iterator traversal from O(n^2) to O(n) because shifting-on-delete won't be performed.