| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Startup notifications are used only in WnckTasklist.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
GTK+ does not support multiple screens!
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The current code doesn't check hard enough and segfaults when
starting d-feet.
https://bugzilla.gnome.org/show_bug.cgi?id=775116
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We don't want to break apps that have set some specific mask with
XSelectInput.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
We have direct access to the xscreen!
|
|
|
|
| |
... in wnck_screen_construct().
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
... _wnck_get_frame_extents().
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following deprecated API got removed:
wnck_screen_get_workspace_index
wnck_screen_get_workspace_neighbor
wnck_pager_set_screen
wnck_tasklist_set_minimum_width
wnck_tasklist_get_minimum_width
wnck_tasklist_set_minimum_height
wnck_tasklist_get_minimum_height
wnck_tasklist_set_screen
wnck_gtk_window_set_dock_type
wnck_create_window_action_menu
The following API don't take a WnckScreen argument anymore:
wnck_pager_new
wnck_tasklist_new
|
| |
|
|
|
|
| |
There was one instance where this was not the case.
|
|
|
|
|
|
| |
The gdk_display variable is deprecated.
See https://bugzilla.gnome.org/show_bug.cgi?id=629344
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-06 Vincent Untz <vuntz@gnome.org>
* libwnck/pager.c:
* libwnck/screen.c:
* libwnck/tasklist.c:
* libwnck/util.c:
* libwnck/window-action-menu.c: undef WNCK_DISABLE_DEPRECATED, since
that's internal code.
svn path=/trunk/; revision=1695
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-11 Vincent Untz <vuntz@gnome.org>
* libwnck/screen.c: (arrays_contain_same_windows): return TRUE when
both list of windows are empty. Fix a bug where when the last window
disappears, libwnck internals don't get updated and you still have a
window in the window list, eg.
See http://code.google.com/p/xmonad/issues/detail?id=195
Patch by Malebria <malebria@riseup.net>
svn path=/trunk/; revision=1628
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-11 Vincent Untz <vuntz@gnome.org>
Change API doc to use Gets instead of Returns in the description of
the functions. Fix bug #477847.
* libwnck/application.c:
* libwnck/class-group.c:
* libwnck/screen.c:
* libwnck/window.c:
* libwnck/workspace.c:
svn path=/trunk/; revision=1506
|
|
|
|
|
|
|
|
|
|
| |
2007-11-11 Vincent Untz <vuntz@gnome.org>
* libwnck/screen.c: (update_viewport_settings): remove dead
conditions.
Patch by Roland Bär <roland@verifysoft.de>. Fix bug #494077.
svn path=/trunk/; revision=1504
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-10 Vincent Untz <vuntz@gnome.org>
* libwnck/pager.c:
* libwcnk/screen.[ch]:
* libwnck/tasklist.c:
* libwnck/util.c: use Deprecated:2.20: instead of just Deprecated:
svn path=/trunk/; revision=1409
|
|
|
|
|
|
|
|
|
| |
2007-07-10 Vincent Untz <vuntz@gnome.org>
* AUTHORS: add myself
* libwnck/*: add myself for the copyright of relevant files
svn path=/trunk/; revision=1408
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-25 Vincent Untz <vuntz@gnome.org>
* libwnck/screen.c: (wnck_screen_change_workspace_count): call
_wnck_error_trap_push() and _wnck_error_trap_pop() (mainly for the
XSync() call in _wnck_error_trap_push())
* libwnck/xutils.c: (_wnck_close), (_wnck_keyboard_move),
(_wnck_keyboard_size), (_wnck_change_state),
(_wnck_change_workspace), (_wnck_activate),
(_wnck_activate_workspace), (_wnck_change_viewport),
(_wnck_toggle_showing_desktop), (_wnck_gdk_pixbuf_get_from_pixmap),
(_wnck_set_window_geometry), (_wnck_free_layout_manager),
(_wnck_try_desktop_layout_manager),
(_wnck_release_desktop_layout_manager): ditto.
This is needed for wnckprop to correctly work.
* libwnck/wnckprop.c: (timestamp_predicate),
(get_xserver_timestamp): new, stolen from xutils.c
(update_screen): we don't need the timestamp here
(update_workspace): get a real xserver timestamp
(update_window): ditto
svn path=/trunk/; revision=1375
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-24 Vincent Untz <vuntz@gnome.org>
Add new API to get layout information about a workspace.
Also add a mode to wnckprop to interact with workspaces.
* libwnck/workspace.[ch]: (wnck_workspace_get_layout_row),
(wnck_workspace_get_layout_column), (wnck_workspace_get_neighbor): 3
new API, that are useful for knowing more about the layout
* libwnck/screen.[ch]: (wnck_screen_get_workspace_neighbor): deprecate
this function, wnck_workspace_get_neighbor() is simpler and should be
used instead
(update_workspace_layout): if the number of rows (or columns) is not
set on the screen, compute it using the number of columns (or rows)
and the number of workspaces
* libwnck/wnckprop.c: (set_mode): new
(validate_options): updated
(update_screen_props): remove the part about workspace activation
(update_space_props): new
(print_screen_props): indentation fixes
(print_space_props): new
(handle_button_press_event): updated
(main): updated
svn path=/trunk/; revision=1368
|