summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* settings: Use gdk_display_set_cursor_themewip/matthiasc/settingsMatthias Clasen2017-11-171-19/+5
| | | | This allows us to reduce the amount of ifdef ugliness.
* Add private api for setting cursor themeMatthias Clasen2017-11-176-0/+18
| | | | | | This is implemented in multiple gdk backends, and we can avoid and ugly ifdef cascade in gtk by adding a vfunc for this.
* Include gdk-private.hMatthias Clasen2017-11-175-32/+6
| | | | This gives us access to private gdk api.
* gdk: Move code aroundMatthias Clasen2017-11-172-37/+36
| | | | | Move the gdk_display functions to gdkdisplay.c. They are misplaced in gdkevents.c.
* clipboard: Use gdk_display_get_last_seen_timeMatthias Clasen2017-11-171-39/+2
| | | | | This removes the backend dependent code from gtkclipboard.c. A good thing!
* gdk: Add a private method to get a server timestampMatthias Clasen2017-11-176-0/+36
| | | | | | This is needed in the clipboard code. We don't make it public, since that code is destined to eventually live in gdk anyway.
* Update POTFILES.inPiotr Drąg2017-11-172-2/+0
|
* Drop gdkscreen.hMatthias Clasen2017-11-176-150/+0
| | | | Nothing uses GdkScreen anymore, so we can get rid of it.
* quartz: Remove remaining uses of GdkScreenMatthias Clasen2017-11-176-29/+10
|
* quartz: Make GdkQuartzScreen a plain objectMatthias Clasen2017-11-173-25/+10
| | | | No need to derive this from GdkScreen anymore.
* quartz: Drop an unused includeMatthias Clasen2017-11-171-1/+0
| | | | No GdkScreen apis are used in here.
* quartz: Avoid a screen argumentMatthias Clasen2017-11-173-8/+5
| | | | | The screen is never used in _gdk_quartz_screen_get_setting, so drop it.
* win32: Remove remaining uses of GdkScreenMatthias Clasen2017-11-172-3/+4
|
* win32: Make GdkWin32Screen a plain objectMatthias Clasen2017-11-172-14/+3
| | | | No need to derive this from GdkScreen anymore.
* win32: Avoid a screen argumentMatthias Clasen2017-11-173-9/+3
| | | | | The screen is never used in _gdk_win32_screen_get_setting, so drop it.
* win32: Remove an unused includeMatthias Clasen2017-11-171-1/+0
| | | | No GdkScreen apis are used in here.
* Fix the buildMatthias Clasen2017-11-171-1/+0
|
* x11: Drop GdkX11Visual as public apiMatthias Clasen2017-11-177-79/+39
| | | | | There was no useful functionality left here, so just remove this from the api altogether.
* x11: Stop using GdkScreen altogetherMatthias Clasen2017-11-1712-50/+42
| | | | | Derive GdkX11Screen directly from GObject, and remove the last remaining uses of GdkScreen.
* x11: Stop using GdkScreen in apiMatthias Clasen2017-11-1715-168/+121
| | | | | This type is going away, so switch to using GdkX11Screen everywhere.
* Stop calling _gdk_screen_closeMatthias Clasen2017-11-172-4/+0
| | | | It does nothing useful, and is going away.
* Stop including gdkscreen.hMatthias Clasen2017-11-172-2/+1
| | | | It is not used anymore.
* broadway: Add missing dependency to buildPhilip Withnall2017-11-171-6/+7
| | | | | | | | | | The generated file clienthtml.h is #included by broadway-server.c, which is one of the sources of the broadway library — so clienthtml.h needs to be one of the sources of that library too. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=790489
* broadway: Fix toplevel handlingAlexander Larsson2017-11-171-5/+2
| | | | | The toplevels list contains GdkWindowImplBroadways, and we shouldn't free it.
* gdk: Remove gdk_flush()Benjamin Otte2017-11-173-27/+0
| | | | | | If you need to flush a display, use gdk_display_flush(). There is never a need to flush displays you don't know about.
* gtk-demo: No need to gdk_flush() hereBenjamin Otte2017-11-171-1/+0
| | | | And if there was a need, GDK should have done it.
* toolbar: Remove gdk_flush() callsBenjamin Otte2017-11-171-9/+0
| | | | It's not 2003 anymore.
* main: Don't gdk_flush() after every main loop waitBenjamin Otte2017-11-171-1/+0
| | | | | | | | For a start, this makes gtk_main() work different from g_main_loop_run() calls. But most importantly, modern GDK does proper syncing itself and doesn't need to rely on a catch-all to get it right.
* Add a commentMatthias Clasen2017-11-171-0/+2
| | | | Document that gdk-private.h is meant for private gdk<>gtk apis.
* Remove gdkprivate.hMatthias Clasen2017-11-1718-60/+13
| | | | | This is one-too-many private headers. Move the few declarations here to gdkinternals.h.
* Drop generic error trap api from the docsMatthias Clasen2017-11-171-5/+0
|
* Drop gdkmain.hMatthias Clasen2017-11-172-37/+0
|
* Stop including gdkmain.hMatthias Clasen2017-11-1713-13/+0
| | | | It is empty now.
* Drop an empty fileMatthias Clasen2017-11-172-31/+0
| | | | Nothing deprecated left!
* Drop the error trap vfuncsMatthias Clasen2017-11-174-49/+0
| | | | No longer used.
* Drop the generic error trap apiMatthias Clasen2017-11-172-151/+0
| | | | | This is only implemented on X11, so we don't need generic api for it.
* tests: Test the x11-specific error trap apiMatthias Clasen2017-11-171-41/+43
| | | | The other one is gone.
* x11: Fix error traps in the dnd codeMatthias Clasen2017-11-161-1/+3
| | | | | | The code for grabbing keys was using a generic error trap call, and more concerning, it was forgetting to pop the trap.
* selection: Use x11-specific trapsMatthias Clasen2017-11-161-15/+30
| | | | The generic trap api is going away.
* mountoperation-x11: Use x11-specific trapsMatthias Clasen2017-11-161-21/+34
| | | | The generic trap api is going away.
* Drop an unused variableMatthias Clasen2017-11-161-3/+0
| | | | These are no longer used.
* Drop a duplicate definitionMatthias Clasen2017-11-161-5/+0
| | | | GDK_PRIORITY_EVENTS is already defined in gdkevents.h
* Drop gdk_set_program_classMatthias Clasen2017-11-163-60/+1
| | | | | Together with the corresponding getter. This is x11-specific functionality.
* x11: Add gdk_x11_display_set_program_classMatthias Clasen2017-11-165-2/+38
| | | | | The program class is a very X-specific concept. There should be x11-backend api to deal with it.
* wayland: Stop using gdk_get_program_classMatthias Clasen2017-11-161-2/+0
| | | | | This is an abuse, at best. If we need to pass the app id down here, lets pass the app id.
* Remove gdk/gdkx.hMatthias Clasen2017-11-165-35/+4
| | | | It was just a kludge.
* Move some code aroundMatthias Clasen2017-11-164-26/+25
| | | | Move gdk_disable_multidevice to gdkdisplaymanager.[hc].
* Drop gdk_notify_startup_completeMatthias Clasen2017-11-163-54/+4
| | | | | This function and its variant are just wrappers around the display-specific function.
* gtk: Stop using gdk_notify_startup_complete_with_idMatthias Clasen2017-11-161-12/+8
| | | | | This function is about to go away. Instead, use the display-specific function that this is a wrapper of.
* gdk: Move some headers aroundMatthias Clasen2017-11-163-6/+5
| | | | | Move gdk_flush and gdk_set_allowed_backends to where they belong.