Commit graph

253 commits

Author SHA1 Message Date
Eric Wasylishen
39c9297595 Handle horizontal scrolling in X11
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29532 72102866-910b-0410-8b05-ffd578937521
2010-02-10 07:36:36 +00:00
Fred Kiefer
99a4001565 Merge the two checks for xshm in XWindowBuffer.
Better check for unicode encoding in art fonts.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29410 72102866-910b-0410-8b05-ffd578937521
2010-01-26 09:21:01 +00:00
Fred Kiefer
2a93b165fb Don't give up on xshm when pixmaps aren't supported.
Based on proposal by Derk Fawcus <dfawcus+lists-gnustep-dev@employees.org>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29359 72102866-910b-0410-8b05-ffd578937521
2010-01-22 17:18:55 +00:00
Wolfgang Lux
4311e19de6 Avoid unnecessary runtime check in the fix for #28590.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29358 72102866-910b-0410-8b05-ffd578937521
2010-01-22 11:47:06 +00:00
Wolfgang Lux
4ea7b58019 Fix bug #28590.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29357 72102866-910b-0410-8b05-ffd578937521
2010-01-22 08:16:50 +00:00
Wolfgang Lux
b4aead1b19 Revise detection of window miniaturization and deminiaturization based
on the ICCCM WM_STATE property and use _NET_WM_STATE only to avoid
generating bogus miniaturize events when using an emwh compliant
window manager. This makes the code more portable and allows
generating reliable window deminiaturize events.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29283 72102866-910b-0410-8b05-ffd578937521
2010-01-14 22:27:03 +00:00
Richard Frith-MacDonald
fc841e8186 pply fix from Doug Simons
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29062 72102866-910b-0410-8b05-ffd578937521
2009-11-26 11:15:59 +00:00
David Chisnall
ed0e764447 Make terminating on signal via NSApp conditional on NSApp actually existing. This allows you to kill applications with ^C if they are using AppKit but not NSApplication.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29016 72102866-910b-0410-8b05-ffd578937521
2009-11-15 13:57:34 +00:00
Fred Kiefer
ca51d23b97 Don't return a static variable as the window device.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28975 72102866-910b-0410-8b05-ffd578937521
2009-11-08 16:14:53 +00:00
Wolfgang Lux
20d75aac56 Partially revert the (defunct) recent window miniaturization changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28930 72102866-910b-0410-8b05-ffd578937521
2009-11-01 12:55:52 +00:00
Thomas Gamper
eefc79f2de TG: Change GLX_VERSION_1_4 check
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28927 72102866-910b-0410-8b05-ffd578937521
2009-10-31 11:56:01 +00:00
Thomas Gamper
f1db2bf071 TG: Check for GLX_VERSION_1_4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28905 72102866-910b-0410-8b05-ffd578937521
2009-10-28 20:09:21 +00:00
Thomas Gamper
38ab851c26 TG: Check for GLX_VERSION_1_4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28904 72102866-910b-0410-8b05-ffd578937521
2009-10-28 20:06:44 +00:00
Riccardo Mottola
71d0bbdcaa cleaned up c99-isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28903 72102866-910b-0410-8b05-ffd578937521
2009-10-28 18:46:31 +00:00
Thomas Gamper
1f84a6a21f TG: Implement setMouseLocation:onScreen
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28898 72102866-910b-0410-8b05-ffd578937521
2009-10-27 18:42:33 +00:00
Thomas Gamper
c0abc9a675 TG: OpenGL cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28877 72102866-910b-0410-8b05-ffd578937521
2009-10-25 13:49:19 +00:00
Richard Frith-MacDonald
d7dc549a3e code for deminiaturisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28836 72102866-910b-0410-8b05-ffd578937521
2009-10-18 06:28:50 +00:00
Fred Kiefer
5371332f41 Protect the XSHM code parts with #ifdef statements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28314 72102866-910b-0410-8b05-ffd578937521
2009-05-31 19:57:18 +00:00
Riccardo Mottola
42abff09f9 reordered instructions for c89 compatibility
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28176 72102866-910b-0410-8b05-ffd578937521
2009-04-04 10:24:19 +00:00
Gregory John Casamento
afb33293d1 Minor formatting change in ChangeLog and temporary removal/commenting out of code until a fix for bug#26046 can be resolved.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28151 72102866-910b-0410-8b05-ffd578937521
2009-03-30 05:37:42 +00:00
Fred Kiefer
4f3b8457a3 Correct the memory management of XWindowBuffer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28141 72102866-910b-0410-8b05-ffd578937521
2009-03-27 23:16:48 +00:00
Fred Kiefer
76a7888859 Correct formatting, replaced tabs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28070 72102866-910b-0410-8b05-ffd578937521
2009-03-12 22:12:31 +00:00
Thomas Gamper
605c77fe48 Thomas Gamper: implement key repeat support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28068 72102866-910b-0410-8b05-ffd578937521
2009-03-12 12:13:35 +00:00
Xavier Glattard
a764159165 Fix a bug (from rev.28036)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28049 72102866-910b-0410-8b05-ffd578937521
2009-03-07 20:47:55 +00:00
Xavier Glattard
6226804e56 Missing var initialization.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28046 72102866-910b-0410-8b05-ffd578937521
2009-03-06 09:31:18 +00:00
Xavier Glattard
08a079606a Fix typo and oversights - Comes along with the previous changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28037 72102866-910b-0410-8b05-ffd578937521
2009-03-04 14:48:19 +00:00
Xavier Glattard
7e3dbdf741 OpenGL sub-windows: prevent back-store flush, handle expose events, and small fix/improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28036 72102866-910b-0410-8b05-ffd578937521
2009-03-04 09:58:41 +00:00
Fred Kiefer
85052ab206 Set black background pixel for OpenGL subwindow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27945 72102866-910b-0410-8b05-ffd578937521
2009-02-21 22:32:33 +00:00
Fred Kiefer
19b62c7318 Remove special code in GLContext subwindow for different border handling
cases.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27944 72102866-910b-0410-8b05-ffd578937521
2009-02-21 22:23:38 +00:00
Richard Frith-MacDonald
8bb746dd57 minor fixes to compile with GC
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27843 72102866-910b-0410-8b05-ffd578937521
2009-02-11 08:45:56 +00:00
Wolfgang Lux
1101ab7f8f Add an asterisk before the window's title if its document is edited
and the window manager is not capable of displaying the document's
status (i.e., any window manager other than Window Maker for now).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27821 72102866-910b-0410-8b05-ffd578937521
2009-02-08 23:04:34 +00:00
Fred Kiefer
db2999ee4d Patch by Matt Rice to get OpenGL working again on X11.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27816 72102866-910b-0410-8b05-ffd578937521
2009-02-08 18:36:25 +00:00
Richard Frith-MacDonald
e71618164d Fix typo in method to set parent window of a child, optimise color handling in themes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27742 72102866-910b-0410-8b05-ffd578937521
2009-01-31 09:59:32 +00:00
Fred Kiefer
f99e97c43e Implement new method -setPartentWindow:forChildWindow: for X and
Windows.

Adjust y coordinate of point in compositeGState:... for cairo. This
solves bug #24709. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27718 72102866-910b-0410-8b05-ffd578937521
2009-01-29 09:32:32 +00:00
Wolfgang Lux
993a5d976b Set the WM protocols supported by a window according to its style
mask. This fixes an issue where an application could be deactivated
under Window Maker when a submenu is closed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27623 72102866-910b-0410-8b05-ffd578937521
2009-01-17 17:48:19 +00:00
Wolfgang Lux
f45b5b41a2 Fix an issue where the X11 backend could use incorrect modifier key
settings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27358 72102866-910b-0410-8b05-ffd578937521
2008-12-19 23:01:04 +00:00
Nicola Pero
39076b64a9 Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=gnustep-back
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27349 72102866-910b-0410-8b05-ffd578937521
2008-12-19 13:05:05 +00:00
Nicola Pero
417a0e2cbf Set GNUSTEP_CORE_SOFTWARE to YES so that gnustep-back is installed by default in SYSTEM if gnustep-make has been configured with --disable-packages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27335 72102866-910b-0410-8b05-ffd578937521
2008-12-18 18:51:49 +00:00
Wolfgang Lux
0981aebea3 Fix two issues with Window Maker.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27296 72102866-910b-0410-8b05-ffd578937521
2008-12-15 20:47:06 +00:00
Wolfgang Lux
418cae5d53 Add method to XGServer to avoid blocking the run loop when the X event
queue is not empty.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27275 72102866-910b-0410-8b05-ffd578937521
2008-12-10 20:30:09 +00:00
Richard Frith-MacDonald
aeddc7b908 Fix #24671
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27192 72102866-910b-0410-8b05-ffd578937521
2008-12-02 22:51:34 +00:00
Wolfgang Lux
8dddc6afcb Fix for bug #24707.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27101 72102866-910b-0410-8b05-ffd578937521
2008-11-20 16:51:33 +00:00
Fred Kiefer
ad0a88c152 Check whether the X server supports shm pixmaps.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26970 72102866-910b-0410-8b05-ffd578937521
2008-10-26 20:12:43 +00:00
Fred Kiefer
1802f35b22 In XwindowBuffer get the default visual and depth from the XGServer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26961 72102866-910b-0410-8b05-ffd578937521
2008-10-24 16:42:38 +00:00
Fred Kiefer
c6c8160a30 Correct code for double parent handling.
Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26950 72102866-910b-0410-8b05-ffd578937521
2008-10-22 07:36:10 +00:00
Fred Kiefer
d6fc8b8e74 Try to keep the visual of art consistent with the one used by X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26849 72102866-910b-0410-8b05-ffd578937521
2008-09-14 21:22:54 +00:00
Fred Kiefer
fc441f9bc5 Add missing window caching for minimized check.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26809 72102866-910b-0410-8b05-ffd578937521
2008-08-14 06:33:04 +00:00
Fred Kiefer
ff0796c5d4 Patch by Hubert Chathi <hubert@uhoreg.ca> to handle window minimization
on EWMH systems better.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26795 72102866-910b-0410-8b05-ffd578937521
2008-07-19 21:17:42 +00:00
Fred Kiefer
865a89a647 Disable new active window handling again, as it leads to flickering
windows on KDE 4.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26752 72102866-910b-0410-8b05-ffd578937521
2008-07-11 07:03:22 +00:00
Fred Kiefer
97d1847e6a Better focus setting for EWMH window managers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26749 72102866-910b-0410-8b05-ffd578937521
2008-07-07 23:02:46 +00:00