< prev index next >
modules/graphics/src/main/native-glass/gtk/glass_screen.cpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 117,127 ****
gdk_rectangle_intersect(&workArea, &monitor_geometry, &working_monitor_geometry);
jobject jScreen = env->NewObject(jScreenCls, jScreenInit,
(jlong)monitor_idx,
! visual ? visual->depth : 0,
monitor_geometry.x,
monitor_geometry.y,
monitor_geometry.width,
monitor_geometry.height,
--- 117,127 ----
gdk_rectangle_intersect(&workArea, &monitor_geometry, &working_monitor_geometry);
jobject jScreen = env->NewObject(jScreenCls, jScreenInit,
(jlong)monitor_idx,
! (visual ? glass_gdk_visual_get_depth(visual) : 0),
monitor_geometry.x,
monitor_geometry.y,
monitor_geometry.width,
monitor_geometry.height,
< prev index next >