summaryrefslogtreecommitdiff
path: root/libwnck/window.c
Commit message (Collapse)AuthorAgeFilesLines
* window: use WnckHandle to get client typeAlberts Muktupāvels2022-02-231-1/+4
|
* window: move window_hash to WnckHandleAlberts Muktupāvels2022-02-171-25/+12
|
* xutils: move WnckIconCache to its own fileAlberts Muktupāvels2021-05-111-0/+1
|
* xutils: replace width and height with size in read_iconsAlberts Muktupāvels2021-05-071-2/+4
| | | | | | | | | _wnck_read_icons is used in WnckApplication and WnckWindow. In both cases ideal_width and ideal_height have same value - default icon size. Same with ideal_mini_width and ideal_mini_height. Simplify function by replacing width and height parameters with size parameter.
* xutils: use WnckScreen instead of X11 ScreenAlberts Muktupāvels2019-09-101-55/+57
| | | | | | | | Change X11 Screen parameter to WnckScreen for _wnck_read_icons, _wnck_keyboard_size, _wnck_keyboard_move, _wnck_activate, _wnck_change_workspace, _wnck_change_state and _wnck_close. https://gitlab.gnome.org/GNOME/libwnck/merge_requests/16
* don't use the deprecated g_type_class_add_privateAlberts Muktupāvels2018-06-271-5/+2
|
* window: ensure that ALL_WORKSPACES has the X11 expected valueMarco Trevisan (Treviño)2017-07-271-1/+1
| | | | | | And cast it explicitly so that we mute warnings https://bugzilla.gnome.org/show_bug.cgi?id=785451
* window: avoid signed / unsigned warningAlberts Muktupāvels2017-05-051-1/+1
|
* add missing default case in switch statementsAlberts Muktupāvels2017-04-271-0/+2
|
* remove redundant declarationsAlberts Muktupāvels2017-04-261-2/+0
|
* Window: ignore unhandled non-_NET_WM actionsMarco Trevisan (Treviño)2016-04-251-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=765453
* WnckWindow: Add a new 'type-changed' signalSebastian Geiger2015-12-021-2/+40
| | | | This signal is emitted when the EWMH type hint of a WnckWindow has changed
* Add support for _GTK_FRAME_EXTENTSRico Tzschichholz2014-07-241-1/+3
| | | | | This adds an additional check if _NET_FRAME_EXTENTS is not set and therefore uses the existing *_frame variables accordingly.
* Updated FSF's addressDaniel Mustieles2014-01-231-3/+1
|
* WnckWindow: Add private function to load an icon and emit signalMarco Trevisan (Treviño)2013-08-201-10/+14
|
* Utils: allow to set the default icon sizes and use these valuesMarco Trevisan (Treviño)2013-08-201-5/+6
|
* private: just use DEFAULT_{ICON,MINI_ICON}_SIZEMarco Trevisan (Treviño)2013-08-201-3/+3
|
* WnckWindow: remove unneeded priv parameters initialization to 0Marco Trevisan (Treviño)2013-07-201-77/+2
|
* libwnck: remove dependency on glib-genmarshal, use generic marshallerMarco Trevisan (Treviño)2013-07-201-17/+8
|
* WnckWindow: add WM_WINDOW_ROLE supportMarco Trevisan (Treviño)2013-02-051-2/+91
| | | | | | Added both a getter and a signal to be notified of its changes https://bugzilla.gnome.org/show_bug.cgi?id=691429
* Window: emit class-changed signal when the instance or group class name changesMarco Trevisan (Treviño)2013-02-051-8/+54
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=691424
* core: Also reset the XSelectInput for WnckScreen and WnckApplicationVincent Untz2012-01-301-3/+3
| | | | | We don't want to break apps that have set some specific mask with XSelectInput.
* core: Add _wnck_window_shutdown_all()Vincent Untz2012-01-301-0/+10
| | | | We also need to destroy the hashtable of WnckWindow on shutdown.
* core: Rely on finalize() instead of manual shutdown() functionsVincent Untz2012-01-301-7/+5
| | | | | | | For WnckScreen and WnckWindow, there was a manual shutdown function called for each object. However, when we shut down, we know that the object will have no reference left and will get finalized. So we can simply rely on the finalize() functions.
* core: Use a destroy notify in hash tables to unref when removing itemVincent Untz2012-01-301-8/+10
| | | | | We were manually unreferencing objects from hash tables when remove them, instead of using an automatic, and therefore safer, mechanism.
* core: Add wnck_shutdown()Martin Pitt2012-01-301-2/+14
| | | | | | | | | | Add wnck_shutdown() method that stops listening to events and tear down all resources from libwnck. This should be done if you are not going to need the state change notifications for an extended period of time, to avoid wakeups with every key and focus event. After this all Wnck object references you might still hold are invalid. https://bugzilla.gnome.org/show_bug.cgi?id=642692
* Added missing introspection annotationsPriit Laes2011-08-161-8/+8
|
* core, wnckprop: Use "ID" instead of "resource class" in WnckClassGroupVincent Untz2011-08-121-2/+2
| | | | | | | | To avoid any confusion for people not knowing what the WM_CLASS is, we talk about "identifier" instead of "resource class". This means we deprecate wnck_class_group_get_res_class(); wnck_class_group_get_id() should be used instead.
* core: Improve API docs for new APIVincent Untz2011-08-121-8/+14
|
* core: Add API to get WM_CLASS group name & instance name of a WnckWindowMarco Trevisan (Treviño)2011-08-121-2/+24
| | | | | | | | | | | | | The old private getters for getting a window WM_CLASS name or WM_CLASS are now public as wnck_window_get_class_group_name() and wnck_window_get_class_instance_name(). It's important to be able to get the instance name as they could differ for special windows or for sub-applications (i.e. chromium web-apps). Also make wnckprop print out the window class instance. https://bugzilla.gnome.org/show_bug.cgi?id=168718
* core: Add Display argument to _wnck_error_trap_push()/pop()Vincent Untz2011-02-181-6/+13
|
* introspection: Add missing annotationsVincent Untz2011-01-201-6/+6
|
* doc: TyposVincent Untz2011-01-201-1/+1
|
* introspection: Add missing annotationsVincent Untz2011-01-201-2/+4
|
* core: Add Screen argument to _wnck_select_input()Vincent Untz2011-01-201-1/+2
| | | | | | If we can't find a GdkDisplay matching the Display of the Screen, then we just skip the GDK integration code: using gdk_display_get_default() would be just wrong. And this shouldn't happen anyway.
* core: Add Screen argument to _wnck_set_icon_geometry()Vincent Untz2011-01-201-1/+2
|
* core: Add Screen argument to _wnck_read_icons()Vincent Untz2011-01-201-1/+2
|
* core: Add Screen argument to _wnck_get_res_class_utf8(), ...Vincent Untz2011-01-201-1/+2
| | | | ... _wnck_get_wmclass().
* core: Add Screen argument to _wnck_iconify(), _wnck_deiconify()Vincent Untz2011-01-201-1/+2
|
* core: Add Screen argument to _wnck_get_cardinal_list(), ...Vincent Untz2011-01-201-1/+2
| | | | ... _wnck_get_frame_extents().
* core: Add Screen argument to _wnck_get_atom_list()Vincent Untz2011-01-201-3/+6
|
* core: Add Screen argument to _wnck_get_utf8_property()Vincent Untz2011-01-201-1/+2
|
* core: Add Screen argument to _wnck_get_text_property(), ...Vincent Untz2011-01-201-2/+4
| | | | ... _wnck_get_name(), _wnck_get_icon_name().
* core: Add Screen argument to _wnck_get_window(), _wnck_get_session_id()Vincent Untz2011-01-201-5/+8
|
* core: Add Screen argument to _wnck_get_wm_state()Vincent Untz2011-01-201-1/+2
|
* core: Add Screen argument to _wnck_get_cardinal(), _wnck_get_pid()Vincent Untz2011-01-201-2/+4
|
* all: Code spacing fixesVincent Untz2011-01-191-80/+80
|
* [core, wnckprop] Stop using gdk_displayVincent Untz2010-09-111-2/+8
| | | | | | The gdk_display variable is deprecated. See https://bugzilla.gnome.org/show_bug.cgi?id=629344
* Add introspection annotationsTomeu Vizoso2010-07-291-13/+13
|
* [core] Use _NET_WM_WINDOW_TYPE_SPLASH instead of non-existing hintVincent Untz2010-03-091-1/+1
| | | | | | We were using _NET_WM_WINDOW_TYPE_SPLASHSCREEN https://bugzilla.gnome.org/show_bug.cgi?id=590879