summaryrefslogtreecommitdiff
path: root/libwnck
Commit message (Collapse)AuthorAgeFilesLines
* libwnck/test-icon-cache: Use WnckHandle to get the screenMarco Trevisan (Treviño)2022-09-161-1/+3
|
* tests: add test-icon-cache toolAlberts Muktupāvels2022-09-162-0/+555
| | | | | | | | | | | | - Set button always sets new icon. This should emit icon-changed signal unless there is higher priority icon already set. - Nochange button is used to cause PropertyNotify event that should not cause changes to icon and/or should not emit icon-changed signal. - Unset button is used to remove icon. This should emit icon-changed signal only if highest priority icon is unset.
* handle: remove unused functionAlberts Muktupāvels2022-09-162-21/+0
|
* screen: move SnDisplay to WnckTasklistAlberts Muktupāvels2022-09-165-90/+76
| | | | Startup notifications are used only in WnckTasklist.
* util: move icon reloading to WnckHandleAlberts Muktupāvels2022-08-152-23/+47
| | | | Missing part from 8260794f4d73219d026c53b6d57244ddf52d34a6.
* handle: fix crashAlberts Muktupāvels2022-08-151-0/+2
| | | | | Commit ace10756cb42 lost `display = _wnck_get_default_display ();` causing crash when finalizing WnckHandle.
* deprecate functions that does not use WnckHandleAlberts Muktupāvels2022-08-158-0/+15
|
* port tests to WnckHandleAlberts Muktupāvels2022-08-155-21/+40
|
* urgency-monitor: port to WnckHandleAlberts Muktupāvels2022-08-151-2/+5
|
* wnckprop: port to WnckHandleAlberts Muktupāvels2022-08-151-25/+40
|
* handle: make it publicAlberts Muktupāvels2022-08-1520-114/+578
|
* icon-cache: remove support for KWM_WIN_ICONAlberts Muktupāvels2022-03-293-90/+3
| | | | | According to Debian Code Search only MPlayer sets this property (together with _NET_WM_ICON).
* xutils: Get the correct PID for clients inside PID namespacesRyan Gonzalez2022-03-281-3/+33
| | | | | | | | This tries to use XResQueryClientIds to fetch the client's PID, which will return the PID as seen by the host, rather than the PID as seen by the client. Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
* resource-usage: use WnckHandle to get screenAlberts Muktupāvels2022-02-241-1/+2
|
* util: remove _wnck_get_default_mini_icon_sizeAlberts Muktupāvels2022-02-242-8/+0
|
* tasklist: use WnckHandle to get icon sizeAlberts Muktupāvels2022-02-241-17/+38
|
* tasklist: use WnckHandle to get screenAlberts Muktupāvels2022-02-241-2/+12
|
* window: use WnckHandle to get screenAlberts Muktupāvels2022-02-241-1/+8
|
* window: use WnckHandle to get applicationAlberts Muktupāvels2022-02-241-1/+3
|
* window: use WnckHandle to get windowAlberts Muktupāvels2022-02-241-3/+7
|
* screen: use WnckHandle to get applicationAlberts Muktupāvels2022-02-241-1/+1
|
* screen: use WnckHandle to get class groupAlberts Muktupāvels2022-02-241-1/+1
|
* screen: use WnckHandle to get windowAlberts Muktupāvels2022-02-241-3/+3
|
* selector: use WnckHandle to get screenAlberts Muktupāvels2022-02-241-1/+7
|
* pager: use WnckHandle to get screenAlberts Muktupāvels2022-02-241-1/+10
|
* application: use WnckHandle to get applicationAlberts Muktupāvels2022-02-241-1/+1
|
* util: remove _wnck_get_default_icon_sizeAlberts Muktupāvels2022-02-232-7/+0
|
* window: use WnckHandle to get icon sizesAlberts Muktupāvels2022-02-231-2/+5
|
* class-group: use WnckHandle to get icon sizesAlberts Muktupāvels2022-02-231-2/+6
|
* application: use WnckHandle to get icon sizesAlberts Muktupāvels2022-02-231-2/+5
|
* util: remove _wnck_get_client_typeAlberts Muktupāvels2022-02-232-8/+0
|
* window: use WnckHandle to get client typeAlberts Muktupāvels2022-02-231-1/+4
|
* xutils: use WnckHandle to get client typeAlberts Muktupāvels2022-02-231-6/+19
|
* application: remove unused struct memberAlberts Muktupāvels2022-02-221-2/+0
|
* screen: move screens to WnckHandleAlberts Muktupāvels2022-02-225-115/+154
|
* util: move resource usage to its own fileAlberts Muktupāvels2022-02-174-519/+602
|
* window: move window_hash to WnckHandleAlberts Muktupāvels2022-02-174-28/+58
|
* application: move app_hash to WnckHandleAlberts Muktupāvels2022-02-174-43/+77
|
* class-group: move class_group_hash to WnckHandleAlberts Muktupāvels2022-02-175-53/+92
|
* screen: store WnckHandle in structAlberts Muktupāvels2022-02-172-0/+14
| | | | | | | | | | Before 5ab809143a7d commit event filter was added in wnck_screen_get when constructing first screen. Store WnckHandle in WnckScreen struct to ensure that event filter is always added otherwise we might end up without event filter if on startup nothing calls _wnck_get_handle. This change introduces new requirement - wnck_set_client_type must be used before using WnckScreen APIs.
* xutils: move event filter to WnckHandlewip/muktupavels/wnck-handle-2Alberts Muktupāvels2021-05-315-113/+106
| | | | | | The final goal is that all resources are managed by WnckHandle. This will allow to free resources when removing plugin/applet without worrying that it might affect other applets.
* util: move default icon size to WnckHandleAlberts Muktupāvels2021-05-313-10/+48
| | | | | In future this will allow to have multiple plugins/applets in same process with different icon sizes.
* xutils: move WnckIconCache to its own fileAlberts Muktupāvels2021-05-117-747/+815
|
* handle: fix license headersAlberts Muktupāvels2021-05-102-18/+18
|
* build: Support new GNOME versioning schemaMarco Trevisan (Treviño)2021-05-101-3/+23
| | | | | | | | | | | | | | | | | alpha, beta and rc releases can will be exposed source side as: major: MAJOR_VERSION-1 minor: 99-MINOR_VERSION_LEVEL micro: MICRO_VERSION So that: 40.alpha => 39.97.0 40.alpha.1 => 39.97.1 40.beta => 39.98.0 40.beta.1 => 39.98.1 40.rc => 39.99.0 40.rc.1 => 39.99.1 40.0 => 40.0.0 40.1 => 40.1.0
* pager: do not change workspace size from size_allocateAlberts Muktupāvels2021-05-101-59/+0
| | | | | | | | | | It should be enough to have only minimum size like it was before a414519d7b45 commit. Widget should request minimum size it needs! Using allocated size is wrong as it means widgets will get only bigger. To reduce size container will need to underallocate widget and GTK will warn about that if consistency checks are enabled.
* pager: reduce initial workspace_sizeAlberts Muktupāvels2021-05-101-1/+1
| | | | | | workspace_size was introduced in a414519d7b45 without any comment why default was set to 48. This is wrong as containers will be forced to underallocate widget to reduce size.
* add private WnckHandle objectAlberts Muktupāvels2021-05-105-7/+197
| | | | | | | | | | | WnckHandle in future will be used as main entry point into library. This will allow to have multiple tasklists in same process with different settings. Also this will allow to cleanup resources without worrying that calling wnck_shutdown might affect other applets or plugins that might use libwnck in same process. https://gitlab.gnome.org/GNOME/libwnck/-/issues/136
* tasklist: set size request modeAlberts Muktupāvels2021-05-101-105/+300
| | | | | | | | Use GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH mode for vertical tasklist and GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT mode for horizontal tasklist. Original wnck_tasklist_size_request function has been renamed to wnck_tasklist_update_size_hints and used only to update size hints.
* tasklist: scale up icon geometry to device pixelsAlberts Muktupāvels2021-05-101-0/+8
|