[gnome-screensaver] Revert "window: only show panel on primary head"
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-screensaver] Revert "window: only show panel on primary head"
- Date: Wed, 11 Jul 2012 20:08:09 +0000 (UTC)
commit 0d534a922edd536223d6363a59d990ec288d6526
Author: Ray Strode <rstrode redhat com>
Date: Wed Jul 11 16:07:08 2012 -0400
Revert "window: only show panel on primary head"
This reverts commit fc6695ecb9023b7049fa0dba91276d39f983425e.
It's causing problems for users.
https://bugzilla.gnome.org/show_bug.cgi?id=679441
src/gs-window-x11.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index c278612..268194c 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -332,9 +332,6 @@ gs_window_move_resize_window (GSWindow *window,
gboolean resize)
{
GtkWidget *widget;
- GdkScreen *screen;
- int monitor;
- int primary_monitor;
widget = GTK_WIDGET (window);
@@ -362,12 +359,6 @@ gs_window_move_resize_window (GSWindow *window,
window->priv->geometry.width,
window->priv->geometry.height);
}
-
- screen = gtk_widget_get_screen (widget);
- monitor = gdk_screen_get_monitor_at_window (screen,
- gtk_widget_get_window (widget));
- primary_monitor = gdk_screen_get_primary_monitor (screen);
- gtk_widget_set_visible (window->priv->panel, monitor == primary_monitor);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]