diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/daemon.c | 6 | ||||
-rw-r--r-- | src/themes/nodoka/nodoka-theme.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index bcc8625..b8254c6 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c @@ -1152,7 +1152,7 @@ static gboolean fullscreen_window_exists(GtkWidget* nw) g_return_val_if_fail (GDK_IS_X11_DISPLAY (gdk_display_get_default ()), FALSE); - wnck_screen = wnck_screen_get(GDK_SCREEN_XNUMBER(gdk_window_get_screen(gtk_widget_get_window(nw)))); + wnck_screen = wnck_screen_get (GDK_SCREEN_XNUMBER (gdk_window_get_screen (gtk_widget_get_window (nw)))); wnck_screen_force_update (wnck_screen); @@ -1500,8 +1500,8 @@ static gboolean notify_daemon_notify_handler(NotifyDaemonNotifications *object, #ifdef HAVE_X11 if (GDK_IS_X11_DISPLAY (gdk_display_get_default ()) && - window_xid != None && - !theme_get_always_stack (nw)) + window_xid != None && + !theme_get_always_stack (nw)) { /* * Do nothing here if we were passed an XID; we'll call diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c index d194d7f..79af140 100644 --- a/src/themes/nodoka/nodoka-theme.c +++ b/src/themes/nodoka/nodoka-theme.c @@ -137,8 +137,8 @@ get_size_of_widgets_monitor(GtkWidget *widget, int *width, int *height) { GdkWindow *window = gtk_widget_get_window (widget); GdkMonitor *monitor = gdk_display_get_monitor_at_window ( - gdk_window_get_display (window), - window); + gdk_window_get_display (window), + window); GdkRectangle workarea; gdk_monitor_get_workarea (monitor, &workarea); if (width) *width = workarea.width; |